Add blocking TODO/warning
This commit is contained in:
parent
c830372f29
commit
07e0a3328a
@ -24,6 +24,7 @@ public final class UserActor implements Actor {
|
||||
if (cachedAuthorized != null) {
|
||||
return cachedAuthorized;
|
||||
} else {
|
||||
// TODO: THIS IS KINDA BLOCKING
|
||||
boolean authorized = user.hasPermissionAnywhere(Permissions.SIGN_API_REQUEST);
|
||||
cachedAuthorized = authorized;
|
||||
return authorized;
|
||||
|
Loading…
Reference in New Issue
Block a user