- Issue created by @tobiasb
- Merge request !36Issue #3470671: Skip role with isAdmin when save custom permission β (Open) created by tobiasb
- Status changed to Needs review
9 months ago 10:36am 28 August 2024 - Status changed to RTBC
6 months ago 10:19am 10 November 2024 - π·π΄Romania claudiu.cristea Arad π·π΄
Indeed, currently the module exports permissions also for
is_admin
roles. But such roles have always all the permissions, so we should not pollute their configs with unneeded permissions.Tested the MR and it works.
+1 for this. When saving a custom admin only permission, the module was deleting all the other permissions in
user.role.administrator.yml
, and replacing with only the permissions for the field in question.Thanks for the patch, it seems to fix the issue.