Skip to content

Commit 9aa8587

Browse files
David Ferlaydavidferlay
authored andcommitted
Merge pull request #268 from skilld-labs/view_unpublished_paragraphs
Add "View unpublished paragraphs" permission to Contributor role.
2 parents f8b3d73 + bf67d73 commit 9aa8587

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ stages:
3333
- sniffers
3434
- prepare
3535
- deploy
36+
- storybook
3637
- tests
3738
- reports
3839

@@ -196,7 +197,6 @@ prepare:front:
196197
dependencies:
197198
- prepare:back
198199
- prepare:front
199-
allow_failure: false
200200
<<: *runner_tag_selection
201201
<<: *only_branches
202202

@@ -230,7 +230,7 @@ stop_review:
230230
<<: *only_branches
231231

232232
deploy:storybook:
233-
stage: deploy
233+
stage: storybook
234234
environment:
235235
url: https://${CI_ENVIRONMENT_SLUG}-${CI_PROJECT_PATH_SLUG}.${REVIEW_DOMAIN}
236236
name: review/$CI_COMMIT_REF_NAME
@@ -245,8 +245,6 @@ deploy:storybook:
245245
<<: *runner_tag_selection
246246
<<: *only_branches
247247
<<: *only_var_theme
248-
when: always
249-
250248

251249
test:behat:
252250
stage: tests
@@ -270,7 +268,6 @@ test:behat:
270268
when: script_failure
271269
dependencies:
272270
- deploy:review
273-
allow_failure: false
274271
<<: *runner_tag_selection
275272
<<: *only_branches
276273

web/profiles/sdd/config/install/user.role.contributor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ permissions:
112112
- 'view own unpublished media'
113113
- 'view restricted block content'
114114
- 'view the administration theme'
115+
- 'view unpublished paragraphs'

0 commit comments

Comments
 (0)