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
6da45a93
Commit
6da45a93
authored
3 years ago
by
l26yan
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5334 Add private content viewer role for the existing site
parent
485b77ba
No related branches found
No related tags found
1 merge request
!208
ISTWCMS-5334 Create private content viewer role
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_cfg_common.install
+10
-0
10 additions, 0 deletions
uw_cfg_common.install
with
10 additions
and
0 deletions
uw_cfg_common.install
+
10
−
0
View file @
6da45a93
...
...
@@ -578,3 +578,13 @@ function uw_cfg_common_update_9102() {
$webform
->
save
();
}
}
/**
* Add Private content viewer role for the existing site.
*/
function
uw_cfg_common_update_9103
()
{
Role
::
create
([
'id'
=>
'uw_role_private_content_viewer'
,
'label'
=>
'Private content viewer'
,
])
->
save
();
}
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