Skip to content

Adds end-to-end reading and saving of API Permissions role permissions. - #33

Merged
boazpoolman merged 8 commits into
strapi-community:mainfrom
Link2Twenty:permissions-patch
Aug 15, 2026
Merged

Adds end-to-end reading and saving of API Permissions role permissions.#33
boazpoolman merged 8 commits into
strapi-community:mainfrom
Link2Twenty:permissions-patch

Conversation

@Link2Twenty

Copy link
Copy Markdown
Contributor
  • Persist the permissions selected in the admin role form on create and update. The backend extracts enabled actions from collection types, single types, plugins, and settings, then reuses or creates permission records and synchronizes the role relationship.
  • Populate the edit form from the role's saved permission records so selected actions remain checked when reopening a role.
  • Keep permission updates clean by removing orphaned permission records after a role is resaved.
  • Update role-list navigation to use React Router, add an in-app delete confirmation dialog, and improve locale-aware search, sorting, and empty states.
  • Add react-router-dom as a direct admin dependency and update the lockfile.
  • Extend the Playwright role tests to confirm selected permissions are saved and restored, and to cover the updated button/dialog interactions.

@boazpoolman boazpoolman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@boazpoolman
boazpoolman merged commit 356b923 into strapi-community:main Aug 15, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants