Closed mtjandra closed 8 years ago
On vacation, but I can look Monday. I thought it was understood this only did "singular" permissions, personally.
On vacation, but I can look Monday. I thought it was understood this only did "singular" permissions, personally.
Related to if "g:r:p g2:r:p" is a "scope" or "scopes"?
On vacation, but I can look Monday. I thought it was understood this only did "singular" permissions, personally.
That is not how I understood it. The summary states 'Determines if granted scopes satisfy all required scopes
'. Also the scope class says 'Scope strings have the following representation: {group}:{resource}:{permission[,permission]*
'. So it seems that it should be able to validate the given 'scopes' (multiple permissions on some group:resource) based on the granted scopes.
LGTM
When validating multiple permissions, only the first permission was being validated. See added test with description
Extra permission is not granted
to understand what has been fixed with this change.