[ADMINCTR-213] Permissions Property Not Working for App Groups Created: 22/Aug/22 Updated: 08/Sep/22 Resolved: 31/Aug/22 |
|
| Status: | Closed |
| Project: | Admincentral |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0, 6.2.22 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Julian Nodarse | Assignee: | Thuy To |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | 0d | Remaining Estimate: | 0d |
| Σ Time Spent: | 2d 4.5h | Time Spent: | 2d 4.5h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||
| Epic Link: | AuthorX Support | ||||||||||||||||||||||||||||
| Sprint: | AuthX 17 | ||||||||||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||||||
| Description |
|
App groups are not being hidden as expected when configuring the "permissions" property for on Admincentral.
Expected results: The app group configured would show/hide appropriately. Not just the hide the apps, but the group itself. This config.yaml file should override any other configs. It's as if the permissions property is not being read correctly, or it's being ignored. Actual results : not all apps are hidden/shown as expected. Some apps will be hidden appropriately and some aren't Workaround: you have to add some additional configs on each specific app in order to include proper permissions. |
| Comments |
| Comment by Jonathan Ayala [ 23/Aug/22 ] |
|
Another temporary workaround would be using the app launcher compatibility configuration for the layout and set the group permissions like in the previous appLauncher, using configuration app, under /modules/ui-admincentral/config/appLauncherLayout/groups |
| Comment by Jesus Alonso [ 31/Aug/22 ] |
|
Issue fixed. Now it is possible to configure the permissions property at group level. Below are a couple of examples
- name: admin
apps:
- security
- password-manager
- visitors
- cookies
- about
- ecommerce
- rssAggregator
permissions:
roles:
- editor
- name: admin
apps:
- security
- password-manager
- visitors
- cookies
- about
- ecommerce
- rssAggregator
permissions:
class: info.magnolia.cms.security.operations.VoterBasedConfiguredAccessDefinition
voters:
allowedRoles:
class: info.magnolia.voting.voters.RoleBaseVoter
roles:
travel-demo-editor: travel-demo-editor
travel-demo-publisher: travel-demo-publisher:
roles:
- editor
|