void function ( String arg0 ) { AccessPermission loc0 = AccessPermission . permissionFromRole ( arg0 ) ; String loc1 = AccessPermission . repositoryFromRole ( arg0 ) . toLowerCase ( ) ; repositories . add ( loc1 ) ; permissions . put ( loc1 , loc0 ) ; }
adds a repository permission to the team . role may be formatted as : myrepo.git this is implicitly rw + rw + : myrepo.git concode_field_sep Set<String> repositories concode_elem_sep boolean canAdmin concode_elem_sep AccountType accountType concode_elem_sep List<String> preReceiveScripts concode_elem_sep List<String> postReceiveScripts concode_elem_sep String name concode_elem_sep Map<String,AccessPermission> permissions concode_elem_sep long serialVersionUID concode_elem_sep boolean canFork concode_elem_sep boolean canCreate concode_elem_sep Set<String> users concode_elem_sep Set<String> mailingLists concode_field_sep boolean canDeleteRef concode_elem_sep boolean hasRepositoryPermission concode_elem_sep boolean canCreateRef concode_elem_sep void addRepositoryPermissions concode_elem_sep boolean canClone concode_elem_sep void addUser concode_elem_sep boolean canPush concode_elem_sep int compareTo concode_elem_sep boolean hasUser concode_elem_sep void addUsers concode_elem_sep List<RegistrantAccessPermission> getRepositoryPermissions concode_elem_sep boolean canView concode_elem_sep boolean canRewindRef concode_elem_sep void removeUser concode_elem_sep boolean hasExplicitRepositoryPermission concode_elem_sep boolean canAccess concode_elem_sep void setRepositoryPermission concode_elem_sep boolean isLocalTeam concode_elem_sep AccessPermission removeRepositoryPermission concode_elem_sep String toString concode_elem_sep void addMailingLists concode_elem_sep RegistrantAccessPermission getRepositoryPermission