Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_cfg_common
Commits
485b77ba
Commit
485b77ba
authored
3 years ago
by
l26yan
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5334 Create private content viewer role
parent
bc275111
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!208
ISTWCMS-5334 Create private content viewer role
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/UwRoles/UwRoles.php
+4
-0
4 additions, 0 deletions
src/UwRoles/UwRoles.php
src/UwRoles/user.role.uw_role_private_content_viewer.yml
+1
-0
1 addition, 0 deletions
src/UwRoles/user.role.uw_role_private_content_viewer.yml
with
5 additions
and
0 deletions
src/UwRoles/UwRoles.php
+
4
−
0
View file @
485b77ba
...
@@ -44,6 +44,7 @@ class UwRoles {
...
@@ -44,6 +44,7 @@ class UwRoles {
'uw_role_content_editor'
,
'uw_role_content_editor'
,
'uw_role_form_editor'
,
'uw_role_form_editor'
,
'uw_role_form_results_access'
,
'uw_role_form_results_access'
,
'uw_role_private_content_viewer'
,
];
];
}
}
...
@@ -109,6 +110,9 @@ class UwRoles {
...
@@ -109,6 +110,9 @@ class UwRoles {
case
'uw_role_form_results_access'
:
case
'uw_role_form_results_access'
:
return
'Form results access'
;
return
'Form results access'
;
case
'uw_role_private_content_viewer'
:
return
'Private content viewer'
;
case
'anonymous'
:
case
'anonymous'
:
return
'Anonymous'
;
return
'Anonymous'
;
...
...
This diff is collapsed.
Click to expand it.
src/UwRoles/user.role.uw_role_private_content_viewer.yml
0 → 100644
+
1
−
0
View file @
485b77ba
permissions
:
[]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment