mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Warn about orphan scopes
This commit is contained in:
parent
fccae9b8c0
commit
664dfd21c9
@ -553,9 +553,7 @@ public class APIPublisherServiceImpl implements APIPublisherService {
|
||||
publisherRESTAPIServices.updateSharedScope(apiApplicationKey, accessTokenInfo, scope);
|
||||
} else {
|
||||
// todo: come to this level means, that scope is removed from API, but haven't removed from the scope-role-permission-mappings list
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug(scope.getKey() + " not available as shared scope");
|
||||
}
|
||||
log.warn(scope.getKey() + " not available as shared scope");
|
||||
}
|
||||
}
|
||||
for (String role : rolePermissions.keySet()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user