cms
cms copied to clipboard
Cannot create new globals collection even with permission set
Bug description
Setting the Configure globals setting in Permissions does not actually grant that permission.
How to reproduce
- Start a fresh Statamic site
- Create a super user and log in
- Create a role and assign it
Configure globals - Create a new user and assign it that role
- Log in as new user and try to create a new global set
- Get permission denied (403)
Logs
Nothing in logs (at least at default reporting level?). I did try and use Telescope, but couldn't understand the stack trace.
Environment
Environment
Application Name: Statamic
Laravel Version: 12.17.0
PHP Version: 8.4.7
Composer Version: 2.8.9
Environment: local
Debug Mode: ENABLED
URL: globals2.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.57.0 PRO
Installation
Fresh statamic/statamic site via CLI
Additional details
All the other general permissions work (collections, assets, navs, taxonomies).