Skip to content

Commit

Permalink
Updated permissions to allow site managers create media taxonomy
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Mar 22, 2023
1 parent 5acd4fd commit e4a4d11
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 9 deletions.
2 changes: 2 additions & 0 deletions config/sync/user.role.anonymous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
module:
- field_permissions
- media
- printable
- stanford_policy
- system
- ui_patterns_library
Expand All @@ -30,6 +31,7 @@ permissions:
- 'view own su_site_home'
- 'view own su_site_url'
- 'view policy log'
- 'view printer friendly versions'
- 'view su_metatags'
- 'view su_policy_auto_prefix'
- 'view su_policy_chapter'
Expand Down
8 changes: 2 additions & 6 deletions config/sync/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ uuid: ccb69bd8-1bb9-4122-861e-0d75be7eb22d
langcode: en
status: true
dependencies:
config:
- filter.format.stanford_html
- filter.format.stanford_minimal_html
module:
- field_permissions
- filter
- media
- printable
- shortcut
- stanford_policy
- system
Expand All @@ -23,8 +20,6 @@ permissions:
- 'access content'
- 'access patterns page'
- 'access shortcuts'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
- 'view field_media_embeddable_code'
- 'view media'
- 'view own field_media_embeddable_code'
Expand All @@ -38,6 +33,7 @@ permissions:
- 'view own su_site_home'
- 'view own su_site_url'
- 'view policy log'
- 'view printer friendly versions'
- 'view su_metatags'
- 'view su_policy_auto_prefix'
- 'view su_policy_chapter'
Expand Down
9 changes: 9 additions & 0 deletions config/sync/user.role.contributor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ langcode: en
status: true
dependencies:
config:
- filter.format.stanford_html
- filter.format.stanford_minimal_html
- media.type.file
- media.type.google_form
- media.type.image
Expand All @@ -21,10 +23,12 @@ dependencies:
- content_lock
- dropzonejs
- editoria11y
- filter
- media
- menu_admin_per_menu
- node
- paragraphs
- pathauto
- scheduler
- stanford_policy
- stanford_publication
Expand Down Expand Up @@ -105,15 +109,20 @@ permissions:
- 'edit own video media'
- 'edit policy log'
- 'mark as hidden in editoria11y'
- 'mark as ok in editoria11y'
- 'notify of path changes'
- 'schedule publishing of nodes'
- 'update media'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
- 'view all revisions'
- 'view any unpublished stanford_course content'
- 'view any unpublished stanford_event content'
- 'view any unpublished stanford_event_series content'
- 'view any unpublished stanford_news content'
- 'view any unpublished stanford_page content'
- 'view any unpublished stanford_person content'
- 'view any unpublished stanford_policy content'
- 'view any unpublished stanford_publication content'
- 'view editoria11y checker'
- 'view own unpublished content'
Expand Down
7 changes: 7 additions & 0 deletions config/sync/user.role.layout_builder_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ dependencies:
- core.entity_view_display.node.stanford_news.default
- core.entity_view_display.node.stanford_page.default
- core.entity_view_display.node.stanford_person.default
- core.entity_view_display.node.stanford_policy.default
- core.entity_view_display.node.stanford_publication.default
- core.entity_view_display.taxonomy_term.stanford_event_types.default
- core.entity_view_display.taxonomy_term.stanford_news_topics.default
- core.entity_view_display.taxonomy_term.stanford_person_types.default
- core.entity_view_display.taxonomy_term.stanford_publication_topics.default
- filter.format.stanford_html
- filter.format.stanford_minimal_html
module:
- filter
- layout_builder
id: layout_builder_user
label: 'Layout Builder User'
Expand All @@ -28,6 +32,9 @@ permissions:
- 'configure editable stanford_page node layout overrides'
- 'configure editable stanford_person node layout overrides'
- 'configure editable stanford_person_types taxonomy_term layout overrides'
- 'configure editable stanford_policy node layout overrides'
- 'configure editable stanford_publication node layout overrides'
- 'configure editable stanford_publication_topics taxonomy_term layout overrides'
- 'create and edit custom blocks'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
16 changes: 15 additions & 1 deletion config/sync/user.role.site_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ dependencies:
- core.entity_view_display.node.stanford_news.default
- core.entity_view_display.node.stanford_page.default
- core.entity_view_display.node.stanford_person.default
- core.entity_view_display.node.stanford_policy.default
- core.entity_view_display.node.stanford_publication.default
- filter.format.stanford_html
- filter.format.stanford_minimal_html
- media.type.embeddable
- media.type.file
- media.type.google_form
Expand All @@ -25,6 +28,7 @@ dependencies:
- node.type.stanford_publication
- taxonomy.vocabulary.basic_page_types
- taxonomy.vocabulary.event_audience
- taxonomy.vocabulary.media_tags
- taxonomy.vocabulary.stanford_event_types
- taxonomy.vocabulary.stanford_news_topics
- taxonomy.vocabulary.stanford_person_types
Expand All @@ -46,6 +50,7 @@ dependencies:
- field_permissions
- field_ui
- file
- filter
- image
- layout_builder
- media
Expand All @@ -55,6 +60,7 @@ dependencies:
- page_manager
- paragraphs
- path
- pathauto
- rabbit_hole
- redirect
- responsive_image
Expand Down Expand Up @@ -152,7 +158,6 @@ permissions:
- 'bypass embed field validation'
- 'bypass node access'
- 'cancel account'
- 'change own username'
- 'choose layout for node stanford_page'
- 'configure all stanford_page node layout overrides'
- 'configure any layout'
Expand All @@ -161,6 +166,7 @@ permissions:
- 'configure editable stanford_news node layout overrides'
- 'configure editable stanford_page node layout overrides'
- 'configure editable stanford_person node layout overrides'
- 'configure editable stanford_policy node layout overrides'
- 'configure editable stanford_publication node layout overrides'
- 'create and edit custom blocks'
- 'create embeddable media'
Expand All @@ -182,6 +188,7 @@ permissions:
- 'create stanford_publication content'
- 'create terms in basic_page_types'
- 'create terms in event_audience'
- 'create terms in media_tags'
- 'create terms in stanford_event_types'
- 'create terms in stanford_news_topics'
- 'create terms in stanford_person_types'
Expand Down Expand Up @@ -233,6 +240,7 @@ permissions:
- 'delete stanford_publication revisions'
- 'delete terms in basic_page_types'
- 'delete terms in event_audience'
- 'delete terms in media_tags'
- 'delete terms in stanford_event_types'
- 'delete terms in stanford_news_topics'
- 'delete terms in stanford_person_types'
Expand Down Expand Up @@ -283,12 +291,15 @@ permissions:
- 'edit stanford_super_footer config page entity'
- 'edit terms in basic_page_types'
- 'edit terms in event_audience'
- 'edit terms in media_tags'
- 'edit terms in stanford_event_types'
- 'edit terms in stanford_news_topics'
- 'edit terms in stanford_person_types'
- 'edit terms in stanford_publication_topics'
- 'edit terms in su_shared_tags'
- 'mark as hidden in editoria11y'
- 'mark as ok in editoria11y'
- 'notify of path changes'
- 'rabbit hole administer taxonomy_term'
- 'rabbit hole bypass node'
- 'rabbit hole bypass taxonomy_term'
Expand All @@ -306,6 +317,8 @@ permissions:
- 'update any media'
- 'update any stanford_component_block block content'
- 'update media'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
- 'use views bulk edit'
- 'view all media revisions'
- 'view all revisions'
Expand All @@ -316,6 +329,7 @@ permissions:
- 'view any unpublished stanford_news content'
- 'view any unpublished stanford_page content'
- 'view any unpublished stanford_person content'
- 'view any unpublished stanford_policy content'
- 'view any unpublished stanford_publication content'
- 'view config_pages entity'
- 'view editoria11y checker'
Expand Down
14 changes: 13 additions & 1 deletion config/sync/user.role.site_developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ dependencies:
- core.entity_view_display.node.stanford_news.default
- core.entity_view_display.node.stanford_page.default
- core.entity_view_display.node.stanford_person.default
- core.entity_view_display.node.stanford_policy.default
- core.entity_view_display.node.stanford_publication.default
- filter.format.stanford_html
- filter.format.stanford_minimal_html
- media.type.embeddable
- media.type.file
- media.type.google_form
Expand All @@ -25,6 +28,7 @@ dependencies:
- node.type.stanford_publication
- taxonomy.vocabulary.basic_page_types
- taxonomy.vocabulary.event_audience
- taxonomy.vocabulary.media_tags
- taxonomy.vocabulary.stanford_event_types
- taxonomy.vocabulary.stanford_news_topics
- taxonomy.vocabulary.stanford_person_types
Expand Down Expand Up @@ -192,7 +196,6 @@ permissions:
- 'bypass embed field validation'
- 'bypass node access'
- 'cancel account'
- 'change own username'
- 'choose layout for node stanford_page'
- 'configure all stanford_page node layout overrides'
- 'configure any layout'
Expand All @@ -201,6 +204,7 @@ permissions:
- 'configure editable stanford_news node layout overrides'
- 'configure editable stanford_page node layout overrides'
- 'configure editable stanford_person node layout overrides'
- 'configure editable stanford_policy node layout overrides'
- 'configure editable stanford_publication node layout overrides'
- 'configure layout builder restrictions'
- 'create and edit custom blocks'
Expand All @@ -223,6 +227,7 @@ permissions:
- 'create stanford_publication content'
- 'create terms in basic_page_types'
- 'create terms in event_audience'
- 'create terms in media_tags'
- 'create terms in stanford_event_types'
- 'create terms in stanford_news_topics'
- 'create terms in stanford_person_types'
Expand Down Expand Up @@ -276,6 +281,7 @@ permissions:
- 'delete stanford_publication revisions'
- 'delete terms in basic_page_types'
- 'delete terms in event_audience'
- 'delete terms in media_tags'
- 'delete terms in stanford_event_types'
- 'delete terms in stanford_news_topics'
- 'delete terms in stanford_person_types'
Expand Down Expand Up @@ -328,13 +334,16 @@ permissions:
- 'edit stanford_super_footer config page entity'
- 'edit terms in basic_page_types'
- 'edit terms in event_audience'
- 'edit terms in media_tags'
- 'edit terms in stanford_event_types'
- 'edit terms in stanford_news_topics'
- 'edit terms in stanford_person_types'
- 'edit terms in stanford_publication_topics'
- 'edit terms in su_shared_tags'
- 'link to any page'
- 'mark as hidden in editoria11y'
- 'mark as ok in editoria11y'
- 'notify of path changes'
- 'rabbit hole administer taxonomy_term'
- 'rabbit hole bypass node'
- 'rabbit hole bypass taxonomy_term'
Expand All @@ -353,6 +362,8 @@ permissions:
- 'update any media'
- 'update any stanford_component_block block content'
- 'update media'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
- 'use views bulk edit'
- 'view all media revisions'
- 'view all revisions'
Expand All @@ -363,6 +374,7 @@ permissions:
- 'view any unpublished stanford_news content'
- 'view any unpublished stanford_page content'
- 'view any unpublished stanford_person content'
- 'view any unpublished stanford_policy content'
- 'view any unpublished stanford_publication content'
- 'view config_pages entity'
- 'view editoria11y checker'
Expand Down
13 changes: 13 additions & 0 deletions config/sync/user.role.site_editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ langcode: en
status: true
dependencies:
config:
- filter.format.stanford_html
- filter.format.stanford_minimal_html
- media.type.embeddable
- media.type.file
- media.type.google_form
Expand All @@ -19,6 +21,7 @@ dependencies:
- node.type.stanford_publication
- taxonomy.vocabulary.basic_page_types
- taxonomy.vocabulary.event_audience
- taxonomy.vocabulary.media_tags
- taxonomy.vocabulary.stanford_event_types
- taxonomy.vocabulary.stanford_news_topics
- taxonomy.vocabulary.stanford_person_types
Expand All @@ -30,11 +33,13 @@ dependencies:
- dropzonejs
- editoria11y
- field_permissions
- filter
- media
- menu_admin_per_menu
- node
- paragraphs
- path
- pathauto
- scheduler
- stanford_policy
- stanford_publication
Expand Down Expand Up @@ -85,6 +90,7 @@ permissions:
- 'create stanford_publication content'
- 'create terms in basic_page_types'
- 'create terms in event_audience'
- 'create terms in media_tags'
- 'create terms in stanford_event_types'
- 'create terms in stanford_news_topics'
- 'create terms in stanford_person_types'
Expand Down Expand Up @@ -127,6 +133,7 @@ permissions:
- 'delete stanford_publication revisions'
- 'delete terms in basic_page_types'
- 'delete terms in event_audience'
- 'delete terms in media_tags'
- 'delete terms in stanford_event_types'
- 'delete terms in stanford_news_topics'
- 'delete terms in stanford_person_types'
Expand Down Expand Up @@ -164,12 +171,15 @@ permissions:
- 'edit policy log'
- 'edit terms in basic_page_types'
- 'edit terms in event_audience'
- 'edit terms in media_tags'
- 'edit terms in stanford_event_types'
- 'edit terms in stanford_news_topics'
- 'edit terms in stanford_person_types'
- 'edit terms in stanford_publication_topics'
- 'edit terms in su_shared_tags'
- 'mark as hidden in editoria11y'
- 'mark as ok in editoria11y'
- 'notify of path changes'
- 'revert stanford_course revisions'
- 'revert stanford_event revisions'
- 'revert stanford_event_series revisions'
Expand All @@ -180,6 +190,8 @@ permissions:
- 'revert stanford_publication revisions'
- 'schedule publishing of nodes'
- 'update media'
- 'use text format stanford_html'
- 'use text format stanford_minimal_html'
- 'use views bulk edit'
- 'view all media revisions'
- 'view all revisions'
Expand All @@ -190,6 +202,7 @@ permissions:
- 'view any unpublished stanford_news content'
- 'view any unpublished stanford_page content'
- 'view any unpublished stanford_person content'
- 'view any unpublished stanford_policy content'
- 'view any unpublished stanford_publication content'
- 'view editoria11y checker'
- 'view own unpublished content'
Expand Down
Loading

0 comments on commit e4a4d11

Please sign in to comment.