Optional
extendsThe permission groups that are extended by this permission group.
The unique identifier of the permission group.
The permissions that are included in the permission group.
Optional
scopesThe scopes supported by the permission group.
Permission groups are a convenient way to bundle related permissions together under a single identifier. They simplify the management of user access rights by allowing developers to assign a set of permissions to a role using the group's identifier.
When permissions within a group are updated, the changes are automatically reflected for all roles associated with that group.
This approach streamlines permission management and allows for more modular and maintainable access control within an application.
Example