Permissions

Permissions

Permissions manages the base permission registry by group, which is later consumed by roles and other access-control flows.

Page structure

  • Permission group table.
  • Rule badges rendered inside each group.
  • Row actions for edit and delete.
  • Create or update modal for permission groups.

Form content

1. Group

  • The group key defines the permission namespace.

2. Preset rules

  • viewAny
  • create
  • view
  • edit
  • update
  • delete
  • restore
  • forceDelete

3. Added rules

  • Custom Key and Text pairs for module-specific actions.
  1. Define the correct group namespace first.
  2. Prefer preset rules for standard CRUD behavior.
  3. Add custom rules only when the preset set is not enough.
  4. Recheck User Roles after changing permission groups because roles can depend on those rules directly.