Group and Permission based on database #562
-
any chance to make master group and permission save to database and link that to table auth_group_users/auth_permissions_user like myth auth method, so we dont need defining availible permission or group on shield config. thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the settings() helper to save it to the database and it will work without changes. The system was designed to be able to commit the groups and permissions to version control for easier deployments but we built the settings library to allow that to be overridden at runtime. Bonfire has an example of this in its group settings if you need a reference. |
Beta Was this translation helpful? Give feedback.
You can use the settings() helper to save it to the database and it will work without changes.
The system was designed to be able to commit the groups and permissions to version control for easier deployments but we built the settings library to allow that to be overridden at runtime.
Bonfire has an example of this in its group settings if you need a reference.