justbetter / statamic-environment-permissions
Disable certain permissions on specific environments
Installs: 2 573
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:package
Requires
- statamic/cms: *
This package is auto-updated.
Last update: 2024-12-07 16:40:30 UTC
README
Disable certain permissions on specific environments. This overrides the configured permissions for a user so you can for example always disable blueprint changes.
Installation
composer require justbetter/statamic-environment-permissions
Configuration
Publish the config and change it how you'd like it in config/environment-permissions.php
php artisan vendor:publish --provider="JustBetter\StatamicEnvironmentPermissions\StatamicEnvironmentPermissionsServiceProvider" --tag="config"
Note
This currently only works if your users are stored in the database! A pull request will be accepted to make this work with all user providers.
License
GNU General Public License v3. Please see License File for more information.