Philip L. McMahon
2012-01-27 30f9d25d77ccb5cd978d4cf8fa389ec819e90e95
src/com/gitblit/AuthenticationFilter.java
@@ -171,7 +171,7 @@
         super(req);
         user = new UserModel("anonymous");
      }
      UserModel getUser() {
         return user;
      }
@@ -190,6 +190,9 @@
         if (role.equals(Constants.ADMIN_ROLE)) {
            return user.canAdmin;
         }
         // Gitblit does not currently use actual roles in the traditional
         // servlet container sense.  That is the reason this is marked
         // deprecated, but I may want to revisit this.
         return user.canAccessRepository(role);
      }