Skip to content

Extend {exp:member:has_role} role_id parameter to accept multiple values #2749

Closed

Description

@jcogs-design

Describe the solution you'd like
The current implementation of the {exp:member:has_role} tag (at least on EE6) takes the paramter role_id=, and this value is limited to a single value (i.e. one number).

There are times when you might want to check a member against multiple roles; the current implementation of this tag requires you to use multiple instances of this tag to achieve this end, which is inefficient.

Describe alternatives you've considered
Use multiple instances of this tag, one for each role.

Activity

  1. added a commit that references this issue on Nov 8, 2023
  2. intoeetive commented on Dec 4, 2023

    @intoeetive
    Contributor

    This is getting released in EE 7.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions