permissions: rename repository permissions to mention those are access permissions.
- Soon we'll introduce fine grained permissions for web-edit and artifacts that would require clear separation.
This commit is contained in:
parent
387e40f55b
commit
a7aeae1394
7 changed files with 8 additions and 8 deletions
|
|
@ -56,4 +56,4 @@ Repository Shortcuts
|
|||
Go to the repository settings page.
|
||||
|
||||
\--:kbd:`gO`
|
||||
Go to the repository permissions settings.
|
||||
Go to the repository access permissions settings.
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ class TestRepoPermissionsView(object):
|
|||
route_path('edit_repo_perms',
|
||||
repo_name=repo_name), form_data).follow()
|
||||
|
||||
assert 'Repository permissions updated' in response
|
||||
assert 'Repository access permissions updated' in response
|
||||
|
||||
# revoke given
|
||||
form_data = permission_update_data_generator(
|
||||
|
|
@ -74,4 +74,4 @@ class TestRepoPermissionsView(object):
|
|||
route_path('edit_repo_perms',
|
||||
repo_name=repo_name), form_data).follow()
|
||||
|
||||
assert 'Repository permissions updated' in response
|
||||
assert 'Repository access permissions updated' in response
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class RepoSettingsPermissionsView(RepoAppView):
|
|||
user=self._rhodecode_user, repo=self.db_repo)
|
||||
|
||||
Session().commit()
|
||||
h.flash(_('Repository permissions updated'), category='success')
|
||||
h.flash(_('Repository access permissions updated'), category='success')
|
||||
|
||||
PermissionModel().flush_user_permission_caches(changes)
|
||||
|
||||
|
|
|
|||
|
|
@ -723,7 +723,7 @@ class PermissionCalculator(object):
|
|||
|
||||
def _calculate_repository_permissions(self):
|
||||
"""
|
||||
Repository permissions for the current user.
|
||||
Repository access permissions for the current user.
|
||||
|
||||
Check if the user is part of user groups for this repository and
|
||||
fill in the permission from it. `_choose_permission` decides of which
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">${_('Repository Permissions')}</h3>
|
||||
<h3 class="panel-title">${_('Repository Access Permissions')}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
${h.secure_form(h.route_path('edit_repo_perms', repo_name=c.repo_name), request=request)}
|
||||
|
|
|
|||
|
|
@ -1040,7 +1040,7 @@
|
|||
('g F', 'Goto files page with file search activated'),
|
||||
('g p', 'Goto pull requests page'),
|
||||
('g o', 'Goto repository settings'),
|
||||
('g O', 'Goto repository permissions settings'),
|
||||
('g O', 'Goto repository access permissions settings'),
|
||||
]
|
||||
%>
|
||||
%for key, desc in elems:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<% section_to_label = {
|
||||
'global': 'Global Permissions',
|
||||
'repository_branches': 'Repository Branch Rules',
|
||||
'repositories': 'Repository Permissions',
|
||||
'repositories': 'Repository Access Permissions',
|
||||
'user_groups': 'User Group Permissions',
|
||||
'repositories_groups': 'Repository Group Permissions',
|
||||
} %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue