ProfileManager manager = forumFactory.getProfileManager();
Group group = manager.getGroup( Integer.parseInt(request.getParameter("actor")));
int perm=Integer.parseInt(request.getParameter("type"));
if(perm==Constants.FORUM_ADMIN && ! SecurityTools.isSystemAdmin(getAuthToken(request))){
throw new UnauthorizedException();
}
forum.removeGroupPermission(group, perm);
} catch (NotFoundException e) {
errors.add("general", new ActionError("forumPermission.forumNotFound"));