Details
-
Story
-
Resolution: Done
-
High
-
2.5.2
-
[3.0] - Sprint 10
Description
Fix wrong usage of hasAccess in other repository.
Prereq.: Create an user assigned to the Administrator role with section limitation for Media.
Flow 1:
- Go to Admin / Roles.
Actual result: Error 403 User does not have access to 'read' 'role'.
Flow 2:
- Go to Content / Link Manager.
Actual result: Error 500 An exception has been thrown during the rendering of a template ("User does not have access to 'view' 'url'")..
Remarks: It might be necessary to fix this in other services as well.
Attachments
Issue Links
1.
|
User should see Users panel with proper subtree limitation | Closed | Unassigned | |
2.
|
Fix wrong usage of hasAccess() in RoleService in favor of canUser() | Closed | Unassigned | |
3.
|
Fix wrong usage of hasAccess() in URLService in favor of canUser() | Closed | Unassigned | |
4.
|
Fix wrong usage of hasAccess() in URLAliasService in favor of canUser() | Closed | Unassigned | |
5.
|
Fix wrong usage of hasAccess() in method emptyTrash() in TrashService | Closed | Unassigned | |
6.
|
Fix wrong usage of hasAccess() in URLWildcardService | Closed | Unassigned |