Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-977

Refactor hasRoles to return true if the users has any of the roles, not just all of the roles.

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.0.0.CR1
    • 1.0.0.CR1
    • security
    • None

    Description

      This issue was discovered while updating the TODO app to use aerogear-controller and aerogear-security-picketlink. The problem is that it should be enough that a user belongs to one of the roles, to be allowed access to the protected resource. This task should update the hasRoles method to return true the logged-in users has any of the roles passed in.

      Attachments

        Activity

          People

            dbeveniu Daniel Bevenius (Inactive)
            dbeveniu Daniel Bevenius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: