-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd: Add support for glob matching #79
Conversation
This looks pretty good already! And yes, please update developer guide, especially the inconsistencies :) |
Docs can be updated here: https://github.com/ory/docs/tree/master/docs/keto |
Signed-off-by: Rob Liebowitz <[email protected]>
Signed-off-by: Rob Liebowitz <[email protected]>
On the correct path I still get errors from
I'm not sure what the issue is there, but it was just as easy for me to run Otherwise, I think this should be good to go. |
@rliebz You also need to add placeholder .go file inside |
Signed-off-by: Rob Liebowitz <[email protected]>
@sum2000 Good catch, fixed. |
This all looks superb, I added two comments in the respective PRs and once they're addressed this is good to go in master. Thank you for your work on this! |
Oh, I overlooked your comment, I'll have to check that manually |
Signed-off-by: Rob Liebowitz <[email protected]>
The CI format error can be resolved via: https://github.com/ory/hydra/pull/1273/files#diff-1d37e48f9ceff6d8030570cd36286a61R25 |
Signed-off-by: Rob Liebowitz <[email protected]>
For swagger, try this:
|
Signed-off-by: Rob Liebowitz <[email protected]>
@aeneasr Done. Also I restructured the tests by moving the policies next to their relevant tests for readability, and using more granular, more specifically named test cases to keep hints on the console rather than just in code comments. |
@rliebz you forgot to import glob in rego/doc.go. If you merge with the latest master you will have that file inside rego folder. |
Signed-off-by: Rob Liebowitz <[email protected]>
Thank you for your hard work! |
There are some releases scheduled soon, I'm not sure if I can get it done this week though but I'll try (we're currently raising money, hiring, moving office, incepting hive and ory cloud, so I have insane workloads). |
@rliebz I will try to add regression tests for these by the weekend, just been super busy at work. |
Related issue #66
Proposed changes
Adds support for the "glob" flavor, following the same patterns as "exact" and "regex".
Checklist
vulnerability, I confirm that I got green light (please contact [email protected]) from the maintainers to push the changes.
by signing my commit(s). You can amend your signature to the most recent commit by using
git commit --amend -s
. If youamend the commit, you might need to force push using
git push --force HEAD:<branch>
. Please be very careful when usingforce push.
Further comments