Project

General

Profile

Actions

bug #6115

closed

protect cdm content by drupal permission

Added by Andreas Kohlbecker over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
New
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Severity:
normal
Found in Version:

Description

A couple of portals are currently in maintenance mode because the taxa and names must not be disclosed to the public.
I would be better to protect all content coming from the cdm with a drupal permission: view cdm content

By default this permission should be given to the role 'anonymous user' and 'authenticated user'

TASKS:

  • implement permission view cdm content
  • implement update
  • modify installation profile

Making the cdm content inaccessible by making use of this role requires a few steps:

  1. Adapt the permission Access CDM content in admin/people/permissions. E.g. withdraw the permission Access CDM content from the anonymous user
  2. Configure the visibility of the activated cdm blocks by restricting the block visibility to specific roles. In the block configuration form (Structure->Blocks-->Configure): Roles --> Show block for specific roles. E.g. Allow all roles except anonymous user:
    • CDM taxon tree admin/structure/block/manage/cdm_taxontree/cdm_tree/configure
    • CDM - Search Taxa admin/structure/block/manage/cdm_dataportal/2/configure
    • CDM - Classification breadcrumbs
    • CDM - Taxonomic children
    • CDM - Identification keys

Subtasks 1 (0 open1 closed)

bug #6235: page duplication when accessing resticted contentRejectedAndreas Kohlbecker

Actions
Actions

Also available in: Atom PDF