James Moger
2012-10-05 6662e38a4e252b6ed455ca8f11729d0f1440a3b0
src/com/gitblit/FileUserService.java
@@ -236,6 +236,8 @@
               model.canAdmin = true;
            } else if (role.equalsIgnoreCase(Constants.FORK_ROLE)) {
               model.canFork = true;
            } else if (role.equalsIgnoreCase(Constants.CREATE_ROLE)) {
               model.canCreate = true;
            } else if (role.equalsIgnoreCase(Constants.NOT_FEDERATED_ROLE)) {
               model.excludeFromFederation = true;
            }
@@ -288,6 +290,9 @@
         if (model.canFork) {
            roles.add(Constants.FORK_ROLE);
         }
         if (model.canCreate) {
            roles.add(Constants.CREATE_ROLE);
         }
         if (model.excludeFromFederation) {
            roles.add(Constants.NOT_FEDERATED_ROLE);
         }