diff options
author | James Moger <james.moger@gitblit.com> | 2012-10-18 17:25:07 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-10-19 22:47:33 -0400 |
commit | b0e164283fee6f993589cce849ba1fc7d294e89d (patch) | |
tree | 618130bbb3a16cfc8493f96ddb123e910cde22ac /src/com/gitblit/Constants.java | |
parent | 5955a1bc30ae9ef1c1d556595a271233f1eb9344 (diff) | |
download | gitblit-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.java | 2 |
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;
|