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

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

      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.

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

                Created:
                Updated:
                Resolved: