Problem/Motivation

In the Service class, we have the method getUidsWithAccess. The method user_roles returns an array of RoleInterface, which is used in the condition later. The condition does not accept RoleInterface.

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

danielspeicher created an issue. See original summary.

jurgenhaas’s picture

There is also the fact that if the authenticated role has the permission, then the condition can be skipped entirely.

jurgenhaas’s picture

Assigned: jurgenhaas » Unassigned
Status: Active » Needs review
danielspeicher’s picture

Status: Needs review » Reviewed & tested by the community

Great!

  • jurgenhaas committed d200b5d4 on 1.1.x
    Issue #3371267 by jurgenhaas, danielspeicher: Error in SQL condition...
danielspeicher’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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