lib/scrivito/ui_config.rb in scrivito_sdk-1.0.0 vs lib/scrivito/ui_config.rb in scrivito_sdk-1.1.0.rc1

- old
+ new

@@ -55,9 +55,13 @@ end def user_permissions_config { create_workspace: editor.can?(:create, :workspace), + rename_workspace: editor.can?(:write, selected_workspace), + invite_to_workspace: editor.can?(:invite_to, selected_workspace), + rebase_workspace: editor.can?(:write, selected_workspace), + delete_workspace: editor.can?(:delete, selected_workspace), publish_workspace: editor.can?(:publish, selected_workspace), } end def user_config