Skip to content

Commit

Permalink
Merge pull request #23 from ubc-web-services/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
occupant authored Jul 31, 2023
2 parents ab1cceb + 341fd85 commit 4a4f4ad
Show file tree
Hide file tree
Showing 7 changed files with 162 additions and 7 deletions.
32 changes: 32 additions & 0 deletions ubc_awards/ubc_awards.permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create awards content:
title: 'Award: Create new content'
description: ''
restrict access: TRUE
delete any awards content:
title: 'Award: Delete any content'
description: ''
restrict access: TRUE
delete own awards content:
title: 'Award: Delete own content'
description: 'Note that anonymous users with this permission are able to delete any content created by any anonymous user.'
restrict access: TRUE
delete awards revisions:
title: 'Award: Delete revisions'
description: 'To delete a revision, you also need permission to delete the content item.'
restrict access: TRUE
edit any awards content:
title: 'Award: Edit any content'
description: ''
restrict access: TRUE
edit own awards content:
title: 'Award: Edit own content'
description: 'Note that anonymous users with this permission are able to edit any content created by any anonymous user.'
restrict access: TRUE
revert awards revisions:
title: 'Award: Revert revisions'
description: 'To revert a revision, you also need permission to edit the content item.'
restrict access: TRUE
view awards revisions:
title: 'Award: View revisions'
description: 'To view a revision, you also need permission to view the content item.'
restrict access: TRUE
32 changes: 32 additions & 0 deletions ubc_partner_organization/ubc_partner_organization.permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create ubc_partner_organization content:
title: 'Partner Organization: Create new content'
description: ''
restrict access: TRUE
delete any ubc_partner_organization content:
title: 'Partner Organization: Delete any content'
description: ''
restrict access: TRUE
delete own ubc_partner_organization content:
title: 'Partner Organization: Delete own content'
description: 'Note that anonymous users with this permission are able to delete any content created by any anonymous user.'
restrict access: TRUE
delete ubc_partner_organization revisions:
title: 'Partner Organization: Delete revisions'
description: 'To delete a revision, you also need permission to delete the content item.'
restrict access: TRUE
edit any ubc_partner_organization content:
title: 'Partner Organization: Edit any content'
description: ''
restrict access: TRUE
edit own ubc_partner_organization content:
title: 'Partner Organization: Edit own content'
description: 'Note that anonymous users with this permission are able to edit any content created by any anonymous user.'
restrict access: TRUE
revert ubc_partner_organization revisions:
title: 'Partner Organization: Revert revisions'
description: 'To revert a revision, you also need permission to edit the content item.'
restrict access: TRUE
view ubc_partner_organization revisions:
title: 'Partner Organization: View revisions'
description: 'To view a revision, you also need permission to view the content item.'
restrict access: TRUE
32 changes: 32 additions & 0 deletions ubc_project/ubc_project.permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create ubc_project content:
title: 'Project: Create new content'
description: ''
restrict access: TRUE
delete any ubc_project content:
title: 'Project: Delete any content'
description: ''
restrict access: TRUE
delete own ubc_project content:
title: 'Project: Delete own content'
description: 'Note that anonymous users with this permission are able to delete any content created by any anonymous user.'
restrict access: TRUE
delete ubc_project revisions:
title: 'Project: Delete revisions'
description: 'To delete a revision, you also need permission to delete the content item.'
restrict access: TRUE
edit any ubc_project content:
title: 'Project: Edit any content'
description: ''
restrict access: TRUE
edit own ubc_project content:
title: 'Project: Edit own content'
description: 'Note that anonymous users with this permission are able to edit any content created by any anonymous user.'
restrict access: TRUE
revert ubc_project revisions:
title: 'Project: Revert revisions'
description: 'To revert a revision, you also need permission to edit the content item.'
restrict access: TRUE
view ubc_project revisions:
title: 'Project: View revisions'
description: 'To view a revision, you also need permission to view the content item.'
restrict access: TRUE
32 changes: 32 additions & 0 deletions ubc_publication/ubc_publication.permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create ubc_publication content:
title: 'Publication: Create new content'
description: ''
restrict access: TRUE
delete any ubc_publication content:
title: 'Publication: Delete any content'
description: ''
restrict access: TRUE
delete own ubc_publication content:
title: 'Publication: Delete own content'
description: 'Note that anonymous users with this permission are able to delete any content created by any anonymous user.'
restrict access: TRUE
delete ubc_publication revisions:
title: 'Publication: Delete revisions'
description: 'To delete a revision, you also need permission to delete the content item.'
restrict access: TRUE
edit any ubc_publication content:
title: 'Publication: Edit any content'
description: ''
restrict access: TRUE
edit own ubc_publication content:
title: 'Publication: Edit own content'
description: 'Note that anonymous users with this permission are able to edit any content created by any anonymous user.'
restrict access: TRUE
revert ubc_publication revisions:
title: 'Publication: Revert revisions'
description: 'To revert a revision, you also need permission to edit the content item.'
restrict access: TRUE
view ubc_publication revisions:
title: 'Publication: View revisions'
description: 'To view a revision, you also need permission to view the content item.'
restrict access: TRUE
32 changes: 32 additions & 0 deletions ubc_research_project/ubc_research_project.permissions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create ubc_research_project content:
title: 'Research Project: Create new content'
description: ''
restrict access: TRUE
delete any ubc_research_project content:
title: 'Research Project: Delete any content'
description: ''
restrict access: TRUE
delete own ubc_research_project content:
title: 'Research Project: Delete own content'
description: 'Note that anonymous users with this permission are able to delete any content created by any anonymous user.'
restrict access: TRUE
delete ubc_research_project revisions:
title: 'Research Project: Delete revisions'
description: 'To delete a revision, you also need permission to delete the content item.'
restrict access: TRUE
edit any ubc_research_project content:
title: 'Research Project: Edit any content'
description: ''
restrict access: TRUE
edit own ubc_research_project content:
title: 'Research Project: Edit own content'
description: 'Note that anonymous users with this permission are able to edit any content created by any anonymous user.'
restrict access: TRUE
revert ubc_research_project revisions:
title: 'Research Project: Revert revisions'
description: 'To revert a revision, you also need permission to edit the content item.'
restrict access: TRUE
view ubc_research_project revisions:
title: 'Research Project: View revisions'
description: 'To view a revision, you also need permission to view the content item.'
restrict access: TRUE
7 changes: 0 additions & 7 deletions ubc_vpr_roles/config/install/user.role.super_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ dependencies:
- quick_node_clone
- rebuild_cache_access
- redirect
- role_delegation
- scheduler
- system
- taxonomy
Expand All @@ -59,8 +58,6 @@ dependencies:
- views_ui
- webform
- webform_node
_core:
default_config_hash: '-oh2BIusbb2muicbMAGLZP3O6zPu42142TLvy5aOiMA'
id: super_user
label: 'Super User'
weight: -5
Expand Down Expand Up @@ -103,10 +100,6 @@ permissions:
- 'administer views'
- 'administer webform'
- 'administer webform submission'
- 'assign content_creator role'
- 'assign editor role'
- 'assign read_only role'
- 'assign super_user role'
- 'clone ubc_announcement content'
- 'clone ubc_event content'
- 'clone ubc_landing_page content'
Expand Down
2 changes: 2 additions & 0 deletions ubc_vpr_roles/ubc_vpr_roles.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ type: module
description: This module manages user roles for VPR suite of sites.
package: UBC Web Services
dependencies:
- drupal:media_bulk_upload_dropzonejs
- drupal:user
- ubc_vpr_homepage_extend:ubc_vpr_homepage_extend
- ubc_vpr_announcement_extend:ubc_vpr_announcement_extend
- ubc_vpr_event_extend:ubc_vpr_event_extend
Expand Down

0 comments on commit 4a4f4ad

Please sign in to comment.