some updates

This commit is contained in:
gowthaman.b
2024-02-08 17:50:08 +05:30
parent d8a4483c3c
commit 40933a2713
10 changed files with 301 additions and 185 deletions

View File

@@ -42,7 +42,7 @@ class AppAccessManager : AccessManager {
Role.DbOps -> listOf("ROLE_DB_OPS")
Role.Entity -> loadEntityActionRole(entity, action)
is Role.Standard -> role.action.toList().map { "ROLE_${entity}_${it}" }
is Role.Explicit -> role.roles
is Role.Explicit -> role.roles.toList() + listOf("ROLE_ADMIN")
}.map(String::uppercase)
}