Add blocking TODO/warning

This commit is contained in:
Colin McDonald 2016-06-17 01:12:04 -04:00
parent c830372f29
commit 07e0a3328a

View File

@ -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;