Open riasvdv opened 7 years ago
@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.
See: https://github.com/jrc9designstudio/statamic-google-analytics/issues/4
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
Expected behaviour
Add-ons should be able to define permissions to check against
Actual behaviour
Add-ons can't ☹️