Show More
@@ -100,7 +100,7 b' class AdminUserGroupsView(BaseAppView, D' | |||
|
100 | 100 | auth_user_group_list = UserGroupList( |
|
101 | 101 | UserGroup.query().all(), perm_set=['usergroup.admin']) |
|
102 | 102 | |
|
103 | allowed_ids = [] | |
|
103 | allowed_ids = [-1] | |
|
104 | 104 | for user_group in auth_user_group_list: |
|
105 | 105 | allowed_ids.append(user_group.users_group_id) |
|
106 | 106 |
@@ -90,7 +90,7 b' class RepoForksView(RepoAppView, DataGri' | |||
|
90 | 90 | acl_check = HasRepoPermissionAny( |
|
91 | 91 | 'repository.read', 'repository.write', 'repository.admin') |
|
92 | 92 | repo_id = self.db_repo.repo_id |
|
93 | allowed_ids = [] | |
|
93 | allowed_ids = [-1] | |
|
94 | 94 | for f in Repository.query().filter(Repository.fork_id == repo_id): |
|
95 | 95 | if acl_check(f.repo_name, 'get forks check'): |
|
96 | 96 | allowed_ids.append(f.repo_id) |
General Comments 0
You need to be logged in to leave comments.
Login now