diff --git a/ubc_awards/ubc_awards.permissions.yml b/ubc_awards/ubc_awards.permissions.yml new file mode 100644 index 0000000..1b98205 --- /dev/null +++ b/ubc_awards/ubc_awards.permissions.yml @@ -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 \ No newline at end of file diff --git a/ubc_partner_organization/ubc_partner_organization.permissions.yml b/ubc_partner_organization/ubc_partner_organization.permissions.yml new file mode 100644 index 0000000..e798bb5 --- /dev/null +++ b/ubc_partner_organization/ubc_partner_organization.permissions.yml @@ -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 \ No newline at end of file diff --git a/ubc_project/ubc_project.permissions.yml b/ubc_project/ubc_project.permissions.yml new file mode 100644 index 0000000..cf7d1e6 --- /dev/null +++ b/ubc_project/ubc_project.permissions.yml @@ -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 \ No newline at end of file diff --git a/ubc_publication/ubc_publication.permissions.yml b/ubc_publication/ubc_publication.permissions.yml new file mode 100644 index 0000000..667756d --- /dev/null +++ b/ubc_publication/ubc_publication.permissions.yml @@ -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 \ No newline at end of file diff --git a/ubc_research_project/ubc_research_project.permissions.yml b/ubc_research_project/ubc_research_project.permissions.yml new file mode 100644 index 0000000..14ab47e --- /dev/null +++ b/ubc_research_project/ubc_research_project.permissions.yml @@ -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 \ No newline at end of file diff --git a/ubc_vpr_roles/config/install/user.role.super_user.yml b/ubc_vpr_roles/config/install/user.role.super_user.yml index e7da812..60802fa 100644 --- a/ubc_vpr_roles/config/install/user.role.super_user.yml +++ b/ubc_vpr_roles/config/install/user.role.super_user.yml @@ -48,7 +48,6 @@ dependencies: - quick_node_clone - rebuild_cache_access - redirect - - role_delegation - scheduler - system - taxonomy @@ -59,8 +58,6 @@ dependencies: - views_ui - webform - webform_node -_core: - default_config_hash: '-oh2BIusbb2muicbMAGLZP3O6zPu42142TLvy5aOiMA' id: super_user label: 'Super User' weight: -5 @@ -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' diff --git a/ubc_vpr_roles/ubc_vpr_roles.info.yml b/ubc_vpr_roles/ubc_vpr_roles.info.yml index 373de5a..16ed80d 100755 --- a/ubc_vpr_roles/ubc_vpr_roles.info.yml +++ b/ubc_vpr_roles/ubc_vpr_roles.info.yml @@ -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