Open bertoost opened 10 years ago
This sounds pretty important, fundamental usability issue with multiple contexts and the top nav above the Resource Tree.
Can we Priority tag?
A solution would be to use the default_context
setting
This won't solve where Users have access to multiple Contexts, but it will certainly be a step in the right direction.
Some type of "Active Context" setting would be great based around Active Resource in the Tree.
If this is challenging to achieve I suggest we patch with default_context and revisit at a later date.
more general: shouldn't all the action icons from above the resource tree go down into the context sections? There is already a plus-icon for adding new documents at the context levels, so it's just adding the symlink, weblink and static as small icons there. And of course the purge/trash icon - if we move it into the context sections, it could purge only the deleted resources of that context - not of all contexts in the installation. Could be something like this:
By placing the icons in the context sections we can also honor different permissions per context for the other types of resources as well.
This is quite an oldie here! I think the ultimate solution is to mirror what 3.x has done—simply remove those action icons above the contexts. In 2.8.7, each context has a simple create action button (and refresh one), just as the current 3.x version does, and the contextual menu has access to all relevant actions otherwise.
bertoost created Redmine issue ID 10172
When a user only has permissions for other contexts (not 'web') and then clicks on "new document" above the resource tree, then the &context_key=web parameter is added to the URL, this creates an "access denied" error