Allow to limit content access per channel - apply limitations to content editing / solr indexing

Description

Background

Content access can currently be set in the workflow. It is very flexible in status, but when a content type is shared between channels the access can't be limited to a channel.

Implementation

  • In INTEGRATED-1321, multiple user groups can be added to a channel

  • When no groups have been added, everyone has access

  • Administrators always have access, no matter of their access settings (ROLE_ADMIN) (this should already be the case)

  • Assignee of the article always have access, no matter of their access settings (this should already be the case)

  • Being in one of the groups is enough to get access

  • To access the content you have to have access by Channel configuration AND by Contenttype/Workflow configuration (Workflow overrules content type)

  • Write access will be based on the combination of channels. When multiple channels have been selected for a document, you need access to all channels to edit them.

Because a user can be added to many groups complex combinations are possible (user can read news from Channel X and write articles on Channel X and Y)

Requirements

  • Update the workflow Solr indexer to include the new channel group access settings (see Implementation)

  • Update the workflow access voter to include the new channel group access settings (see Implementation)

Technical tasks

None

Deployment actions

None

Activity

Show:
Ger Jan van den Bosch
April 24, 2018, 9:51 AM

Jij mag weer

Jeroen van Leeuwen
May 7, 2018, 8:51 AM

can you first resolve the merge conflicts?

Ger Jan van den Bosch
May 8, 2018, 6:40 AM

Done!

Jeroen van Leeuwen
May 8, 2018, 11:15 AM

few small remarks.

Marijn Otte
May 22, 2018, 11:59 AM
Edited

Bug 1
https://integrated-latest.e-activesites.nl/app_dev.php/admin/content/0180970e4497303f88e3a48c19773fd2

Bug 2
https://integrated-latest.e-activesites.nl/app_dev.php/admin/content/78c34b6f6c0433698e49c4d29d8d9df8

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Sprint

None

Fix versions

Configure