mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
few changes after testing the gateway
This commit is contained in:
parent
671d931d3e
commit
44d09e09ea
@ -253,7 +253,12 @@ public class AnnotationProcessor {
|
||||
this.setPermission(annotations[i], permission);
|
||||
}
|
||||
}
|
||||
permissions.add(permission);
|
||||
if (permission.getName() == null || permission.getPath() == null) {
|
||||
log.warn("Permission not assigned to the resource url - " + permission.getMethod() + ":"
|
||||
+ permission.getUrl());
|
||||
} else {
|
||||
permissions.add(permission);
|
||||
}
|
||||
}
|
||||
}
|
||||
return permissions;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user