summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/Constants.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-10-18 17:25:07 -0400
committerJames Moger <james.moger@gitblit.com>2012-10-19 22:47:33 -0400
commitb0e164283fee6f993589cce849ba1fc7d294e89d (patch)
tree618130bbb3a16cfc8493f96ddb123e910cde22ac /src/com/gitblit/Constants.java
parent5955a1bc30ae9ef1c1d556595a271233f1eb9344 (diff)
downloadgitblit-b0e164283fee6f993589cce849ba1fc7d294e89d.tar.gz
gitblit-b0e164283fee6f993589cce849ba1fc7d294e89d.zip
New permissions UI for EditUser and EditTeam (issue 36)
Diffstat (limited to 'src/com/gitblit/Constants.java')
-rw-r--r--src/com/gitblit/Constants.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index ed48bd27..0e68355e 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -320,6 +320,8 @@ public class Constants {
public static enum AccessPermission {
NONE("N"), VIEW("V"), CLONE("R"), PUSH("RW"), CREATE("RWC"), DELETE("RWD"), REWIND("RW+");
+ public static final AccessPermission [] NEWPERMISSIONS = { VIEW, CLONE, PUSH, CREATE, DELETE, REWIND };
+
public static AccessPermission LEGACY = REWIND;
public final String code;