justbetter/statamic-environment-permissions
Disable certain permissions on specific environments
6,914
| Install | |
|---|---|
composer require justbetter/statamic-environment-permissions |
|
| Latest Version: | 1.1.0 |
| Laravel: | 12 · 13 |
| Last Updated: | Jun 7, 2023 |
| Links: | GitHub · Packagist |
Maintainer: justbetter
Statamic Environment Permissions
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.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.1.0 | ||
| 1.0.0 |