stroom icon indicating copy to clipboard operation
stroom copied to clipboard

Grey out right-click->Copy if a user doesn't have the appropriate Create permission anywhere in the folder tree

Open stroomdev10 opened this issue 8 years ago • 1 comments

stroomdev10 avatar Jun 16 '17 10:06 stroomdev10

There are a few issues here.

The create new item menu shows a selection of types that can be created in the selected folder. However the create item dialog then shows you all of the places in the tree that you can create the item and allows you to select one. Given that this is the functionality the create menu should just show all types that you could possibly create anywhere in the tree regardless of the current selection (I think).

The create, copy and move dialogs only show folders that you have read permission on so currently you would need both read permission plus one or more create permissions on that folder. Should a user need read permission on a folder to create items in it? Perhaps create permissions infer read so that these folders are visible.

And then copy... Yes, perhaps you shouldn't be able to select copy if you have no rights to create any of the selected items anywhere in the tree, but what if you are able to create some items in some places in cases where you have selected multiple different types? Perhaps it should only be enabled if there are places in the tree where you can create all of the selected item types and then only allow those as destinations.

stroomdev66 avatar Jun 19 '17 19:06 stroomdev66