-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor optimization to DefaultRoleService bootstrapAdminUser (#412)
+ Resolve possible bootstrapAdminUser setting once, on init, and log if active. + Simplify `getRolesForUser` accordingly - this can get called in hot loops with permission checks, want to do anything we can to keep it lean and mean.
- Loading branch information
Showing
1 changed file
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters