Skip to content


whatResources() does not handle wildcard #18

glachac opened this Issue · 2 comments

2 participants


Take the following example:


          console.log("Resources: %j",resources);

My understanding of the wildcard means that 'superuser' should have all permission on 'user.managment'. So the log should output "" as a valid resource, but instead the output is empty. If I replace 'read' with '*' it works, suggesting it is only matching strings, not the wildcard logic.

OptimalBits member


this must be a bug. Is it a showstopper for you, or do you have some workaround?

@manast manast was assigned

Not a showstopper. I've worked around it using only a single permission so a wildcard isn't necessary, but I'll need to move to multiple permissions in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.