Loading src/Plugin/authorization/Consumer/GroupConsumer.php +4 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,10 @@ class GroupConsumer extends ConsumerPluginBase { * {@inheritdoc} */ public function revokeGrants(UserInterface $user, array $context): void { if (!$user->id()) { return; } // Find the granted groups and roles from the applied grants (context). $granted_group_roles = []; foreach ($context as $mapping) { Loading Loading
src/Plugin/authorization/Consumer/GroupConsumer.php +4 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,10 @@ class GroupConsumer extends ConsumerPluginBase { * {@inheritdoc} */ public function revokeGrants(UserInterface $user, array $context): void { if (!$user->id()) { return; } // Find the granted groups and roles from the applied grants (context). $granted_group_roles = []; foreach ($context as $mapping) { Loading