Hello,
I am trying to grant a non-super user access to custom FlexObjects within the Admin2 panel, but I'm having trouble getting it to display.
Environment:
Grav: 2.0.8
Admin2: 2.0.12
Flex-objects: 1.4.4
Context:
I have installed both the Admin2 and Flex-objects plugins, and I am using a custom FlexObjects created via Devtools.
When logged in as a Super User, the custom FlexObjects is visible and works perfectly in the Admin2 panel.
However, when I change the user's permissions to the following configuration, the custom FlexObjects completely disappears from the admin panel:
# user/accounts/my-user-name.yaml
api:
super: false
access: true
pages: true
media: true
flex-objects: true
# user/config/plugins/flex-objects.yaml
directories:
- 'blueprints://flex-objects/pages.yaml'
- 'blueprints://flex-objects/user-accounts.yaml'
- 'blueprints://flex-objects/user-groups.yaml'
- 'blueprints://flex-objects/my-custom-flex-objects.yaml'
Question:
What specific permissions are required for a non-super user to manage custom FlexObjects in the Admin2 plugin?
Any insights or examples would be greatly appreciated. Thank you!