Package com.gitblit.Constants

Examples of com.gitblit.Constants.PermissionType


    for (Map.Entry<String, AccessPermission> entry : permissions.entrySet()) {
      String registrant = entry.getKey();
      AccessPermission ap = entry.getValue();
      String source = null;
      boolean mutable = true;
      PermissionType pType = PermissionType.EXPLICIT;
      if (isMyPersonalRepository(registrant)) {
        pType = PermissionType.OWNER;
        ap = AccessPermission.REWIND;
        mutable = false;
      } else if (StringUtils.findInvalidCharacter(registrant) != null) {
View Full Code Here


    }
    for (Map.Entry<String, AccessPermission> entry : permissions.entrySet()) {
      String registrant = entry.getKey();
      String source = null;
      boolean editable = true;
      PermissionType pType = PermissionType.EXPLICIT;
      if (StringUtils.findInvalidCharacter(registrant) != null) {
        // a regex will have at least 1 invalid character
        pType = PermissionType.REGEX;
        source = registrant;
      }
View Full Code Here

TOP

Related Classes of com.gitblit.Constants.PermissionType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.