diff --git a/src/main/java/org/b3log/symphony/processor/middleware/PermissionMidware.java b/src/main/java/org/b3log/symphony/processor/middleware/PermissionMidware.java index 9f868941b..71a4ce13b 100644 --- a/src/main/java/org/b3log/symphony/processor/middleware/PermissionMidware.java +++ b/src/main/java/org/b3log/symphony/processor/middleware/PermissionMidware.java @@ -70,6 +70,8 @@ public class PermissionMidware { private RoleQueryService roleQueryService; public void grant(final RequestContext context) { + context.handle(); + final AbstractResponseRenderer renderer = context.getRenderer(); if (null == renderer) { return;