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.
Issue fork helpdesk_integration-3371267
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
Comment #2
jurgenhaasThere is also the fact that if the authenticated role has the permission, then the condition can be skipped entirely.
Comment #4
jurgenhaasComment #5
danielspeicher commentedGreat!
Comment #7
danielspeicher commented