]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Group.java
upd: replace assure, assurance, assurer etc in output to user
[gigi.git] / src / org / cacert / gigi / dbObjects / Group.java
index 48445ffc06dac494446b30005c69d00534e95cb3..dd6767ef783cb8e0a309403983a90e6c17e22c90 100644 (file)
@@ -6,15 +6,20 @@ import org.cacert.gigi.output.template.Outputable;
 import org.cacert.gigi.output.template.TranslateCommand;
 
 public enum Group {
-    SUPPORTER("supporter"), ARBITRATOR("arbitrator"), BLOCKEDASSURER("blockedassurer"), BLOCKEDASSUREE("blockedassuree"), BLOCKEDLOGIN("blockedlogin"), BLOCKEDCERT("blockedcert"), TTP_ASSURER("ttp-assurer"), TTP_APPLICANT("ttp-applicant"), CODESIGNING("codesigning"), ORGASSURER("orgassurer"), NUCLEUS_ASSURER("nucleus-assurer");
+    SUPPORTER("supporter", "supporter"), ARBITRATOR("arbitrator", "arbitrator"), //
+    BLOCKEDASSURER("blockedassurer", "may not verify"), BLOCKEDASSUREE("blockedassuree", "may not be verified"), //
+    BLOCKEDLOGIN("blockedlogin", "may not login"), BLOCKEDCERT("blockedcert", "may not issue certificates"), //
+    TTP_ASSURER("ttp-assurer", "may verify via TTP"), TTP_APPLICANT("ttp-applicant", "requests to be verified via ttp"), //
+    CODESIGNING("codesigning", "may issue codesigning certificates"), ORGASSURER("orgassurer", "may verify organisations"), //
+    NUCLEUS_ASSURER("nucleus-assurer", "may issue nucleus assurances"), LOCATE_AGENT("locate-agent", "wants access to the locate agent system");
 
     private final String dbName;
 
     private final TranslateCommand tc;
 
-    private Group(String name) {
+    private Group(String name, String display) {
         dbName = name;
-        tc = new TranslateCommand(name);
+        tc = new TranslateCommand(display);
     }
 
     public static Group getByString(String name) {