This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
FR: Allow add-ons to add permissions #1286
Labels
Comments
@Rias500 you can't create a ServiceProvider and jam the relevant permissions into the appropriate file/object? |
Maybe, but that seems like a very hacky way, I've done it before with routes but that just feels like it could break any time Statamic updates |
Another use case ... give addons the ability to have a permission setting so users other than super users can modify the addons built in settings page. |
jrc9designstudio/statamic-video-embed could really benefit from this too ... |
+1 too increasingly moving a lot of client (editor role) settings to add-ons, with CP configs - which they then cannot access |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behaviour
Add-ons should be able to define permissions to check against
Actual behaviour
Add-ons can't☹️
The text was updated successfully, but these errors were encountered: