bug #6115

Updated by Andreas Müller almost 5 years ago

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'


* 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*
1. Configure the visibility of the activated cdm blocks by restricting the block visibility to specific roles. In the block configuration form (Structure->Blocks-->Configure): configiratoin form: *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


Add picture from clipboard (Maximum size: 40 MB)