##// END OF EJS Templates
permissions: rename repository permissions to mention those are access permissions....
marcink -
r3985:95009b08 default
parent child Browse files
Show More
@@ -56,4 +56,4 b' Repository Shortcuts'
56 56 Go to the repository settings page.
57 57
58 58 \--:kbd:`gO`
59 Go to the repository permissions settings.
59 Go to the repository access permissions settings.
@@ -62,7 +62,7 b' class TestRepoPermissionsView(object):'
62 62 route_path('edit_repo_perms',
63 63 repo_name=repo_name), form_data).follow()
64 64
65 assert 'Repository permissions updated' in response
65 assert 'Repository access permissions updated' in response
66 66
67 67 # revoke given
68 68 form_data = permission_update_data_generator(
@@ -74,4 +74,4 b' class TestRepoPermissionsView(object):'
74 74 route_path('edit_repo_perms',
75 75 repo_name=repo_name), form_data).follow()
76 76
77 assert 'Repository permissions updated' in response
77 assert 'Repository access permissions updated' in response
@@ -87,7 +87,7 b' class RepoSettingsPermissionsView(RepoAp'
87 87 user=self._rhodecode_user, repo=self.db_repo)
88 88
89 89 Session().commit()
90 h.flash(_('Repository permissions updated'), category='success')
90 h.flash(_('Repository access permissions updated'), category='success')
91 91
92 92 PermissionModel().flush_user_permission_caches(changes)
93 93
@@ -723,7 +723,7 b' class PermissionCalculator(object):'
723 723
724 724 def _calculate_repository_permissions(self):
725 725 """
726 Repository permissions for the current user.
726 Repository access permissions for the current user.
727 727
728 728 Check if the user is part of user groups for this repository and
729 729 fill in the permission from it. `_choose_permission` decides of which
@@ -2,7 +2,7 b''
2 2
3 3 <div class="panel panel-default">
4 4 <div class="panel-heading">
5 <h3 class="panel-title">${_('Repository Permissions')}</h3>
5 <h3 class="panel-title">${_('Repository Access Permissions')}</h3>
6 6 </div>
7 7 <div class="panel-body">
8 8 ${h.secure_form(h.route_path('edit_repo_perms', repo_name=c.repo_name), request=request)}
@@ -1040,7 +1040,7 b''
1040 1040 ('g F', 'Goto files page with file search activated'),
1041 1041 ('g p', 'Goto pull requests page'),
1042 1042 ('g o', 'Goto repository settings'),
1043 ('g O', 'Goto repository permissions settings'),
1043 ('g O', 'Goto repository access permissions settings'),
1044 1044 ]
1045 1045 %>
1046 1046 %for key, desc in elems:
@@ -7,7 +7,7 b''
7 7 <% section_to_label = {
8 8 'global': 'Global Permissions',
9 9 'repository_branches': 'Repository Branch Rules',
10 'repositories': 'Repository Permissions',
10 'repositories': 'Repository Access Permissions',
11 11 'user_groups': 'User Group Permissions',
12 12 'repositories_groups': 'Repository Group Permissions',
13 13 } %>
General Comments 0
You need to be logged in to leave comments. Login now