mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add resource refreshing logic
This commit is contained in:
parent
95b2750d8b
commit
d8a2f72d8f
@ -741,6 +741,7 @@ public class APIPublisherServiceImpl implements APIPublisherService {
|
||||
authorizationManager.clearRoleAuthorization(role);
|
||||
for (String permission : permissions) {
|
||||
authorizationManager.authorizeRole(role, permission, CarbonConstants.UI_PERMISSION_ACTION);
|
||||
authorizationManager.refreshAllowedRolesForResource(permission);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user