improve - subscribe event pop up register links automatically

This commit is contained in:
Sola
2015-12-26 00:39:15 +08:00
parent a506a7742f
commit 3e0c907655
9 changed files with 102 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ public class GetUser extends HttpServlet {
return new Response(Response.ResponseCode.UNAUTHORIZED);
}
Operator op = (Operator) session.getAttribute(Attribute.OPERATOR);
if (op.getAccess() != Access.ROOT) {
if (op.getAccess() > Access.LEADER) {
return new Response(Response.ResponseCode.PERMISSION_DENIED);
}