Problem/Motivation

Currently we use the role mapping to assign Drupal roles, but we have a situation where we need to made sure than a user has a combination of roles before giving admin access.

I suggest using the pipeline character in the role mapping so it will be something like,

role1, role2, role3|role4

that will made any user with role 1 or role 2 or a combination of role 3 and 4 to get an admin role.

CommentFileSizeAuthor
#2 issue-3294130.patch1.49 KBddiestra
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ddiestra created an issue. See original summary.

ddiestra’s picture

StatusFileSize
new1.49 KB

e.escribano made their first commit to this issue’s fork.

  • ddiestra committed 404d5f6 on 8.x-2.x
    Issue #3294130 - Allow and condition on role
    
eescribanoc’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.