X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2FdbObjects%2FGroup.java;h=16cde6c1aa9e197268943fa3f2cb0e90d8f2b983;hb=e1c81f89220249a3fa65a4438d7b4c11aaff17f6;hp=48445ffc06dac494446b30005c69d00534e95cb3;hpb=ec155eec51606c19970c9099ef23f700fb6aa53a;p=gigi.git diff --git a/src/org/cacert/gigi/dbObjects/Group.java b/src/org/cacert/gigi/dbObjects/Group.java index 48445ffc..16cde6c1 100644 --- a/src/org/cacert/gigi/dbObjects/Group.java +++ b/src/org/cacert/gigi/dbObjects/Group.java @@ -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 assure"), BLOCKEDASSUREE("blockedassuree", "may not be assured"), // + BLOCKEDLOGIN("blockedlogin", "may not login"), BLOCKEDCERT("blockedcert", "may not issue certificates"), // + TTP_ASSURER("ttp-assurer", "may assure via TTP"), TTP_APPLICANT("ttp-applicant", "requests to be assured via ttp"), // + CODESIGNING("codesigning", "may issue codesigning certificates"), ORGASSURER("orgassurer", "may assure organisations"), // + NUCLEUS_ASSURER("nucleus-assurer", "may issue nucleus assurances"); 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) {