private Permissions() {
ADM_PERMISSIONS.add(PermissionPoint.ALL_PERMISSIONS);
JRADM_PERMISSIONS.add(PermissionPoint.ADM_FORUM);
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.SYSTEM), new PermissionOperation(
PermissionOperation.READ)));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.READ)));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.CHANGE_STATUS)));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.UPDATE)));
JRADM_PERMISSIONS.add(PermissionPoint.ADM_TOPIC);
JRADM_PERMISSIONS.add(PermissionPoint.ADM_MESSAGE);
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.READ)));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.ATTACH), PermissionOperation.ALL_OPERATIONS));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.Forum.MOVE_TOPIC)));
JRADM_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.Forum.SUBSCRIBE)));
MAINMOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.READ)));
MAINMOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.Forum.SUBSCRIBE)));
MAINMOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.ATTACH), PermissionOperation.ALL_OPERATIONS));
MAINMOD_PERMISSIONS.add(PermissionPoint.ADM_TOPIC);
MAINMOD_PERMISSIONS.add(PermissionPoint.ADM_MESSAGE);
MAINMOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.READ)));
MAINMOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.UPDATE)));
GUEST_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.Forum.SUBSCRIBE)));
GUEST_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.READ)));
GUEST_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.MESSAGE), new PermissionOperation(
PermissionOperation.ADD)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.Forum.SUBSCRIBE)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.FORUM), new PermissionOperation(
PermissionOperation.READ)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.ATTACH), new PermissionOperation(
PermissionOperation.ADD)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.ATTACH), new PermissionOperation(
PermissionOperation.READ)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.TOPIC), new PermissionOperation(
PermissionOperation.ADD)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.MESSAGE), new PermissionOperation(
PermissionOperation.ADD)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.MESSAGE), new PermissionOperation(
PermissionOperation.UPDATE)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.READ)));
USER_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.USER), new PermissionOperation(
PermissionOperation.UPDATE)));
MOD_PERMISSIONS.addAll(USER_PERMISSIONS);
MOD_PERMISSIONS.add(new PermissionPoint(new PermissionObject(
PermissionObject.ATTACH), PermissionOperation.ALL_OPERATIONS));