Skip to content

Allow checking for wildcard scopes #35

@cavis

Description

@cavis

Sometimes it's useful to know if a user has any scopes within a namespace. "Does this user have any scopes in feeder:*".

Or to find account ids that have any feeder:* permissions.

Would require either special-casing a wildcard in ScopeList.contains?. Or overriding ScopeList.include? to know about wildcards.

Or slightly higher up in ResourceMap.resources. But I kind of like this in the ScopeList - so it works both for listing resources, and checking a specific resource.

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