[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:
Problem/Incident
Relates
relates to ADMINCTR-214 DOC: Split the App Launcher layout page Closed
causality
caused by ADMINCTR-91 App Launcher redesign Closed
relation
is related to MGNLCT-293 App generated base on content type wi... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ADMINCTR-228 QA Sub-task Closed Jesus Alonso  
ADMINCTR-229 Port to master Sub-task Completed Thuy To  
ADMINCTR-235 DOC: Add possibility to configure the... Documentation Task Closed Adrian Brooks  
Template:
Acceptance criteria:
Empty
Documentation update required:
Yes
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthX 17
Story Points: 1
Team: AuthorX

 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
Generated at Sun Feb 11 23:05:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.