Skip to content

feat(Acl): add acl_add_super_admin#98

Merged
mooori merged 2 commits into
masterfrom
acl-add-sa
Mar 15, 2023
Merged

feat(Acl): add acl_add_super_admin#98
mooori merged 2 commits into
masterfrom
acl-add-sa

Conversation

@mooori
Copy link
Copy Markdown
Contributor

@mooori mooori commented Mar 15, 2023

Adds the function to the AccessControllable trait and provides a default implementation.

Previously super-admins could be added only via acl_init_super_admin and add_super_admin_unchecked, which is an internal function of the default implementation.

acl_add_super_admin allows adding multiple super-admins without having to use internal functions.

@mooori mooori marked this pull request as ready for review March 15, 2023 14:43
@mooori mooori requested a review from birchmd March 15, 2023 14:43
@mooori mooori merged commit 920ec83 into master Mar 15, 2023
@mooori mooori deleted the acl-add-sa branch March 15, 2023 15:01
This was referenced Mar 27, 2026
This was referenced Apr 7, 2026
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.

3 participants