Skip to content
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

adds the fixes for access rules #427

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

ishpaul777
Copy link
Contributor

No description provided.

@@ -32,7 +32,7 @@
"url": "http://kavach-web:3000"
},
"match": {
"url": "http://127.0.0.1:4455/.factly/kavach/web<(/(organisation|organisation/edit|organisation(/(\\d+/settings(/(tokens|tokens/create|roles|roles(/(\\d+/users|\\d+/create|\\d+/edit))|policies|users|users/new))))|settings|password|profile|profile/invite|users|users(/new)|applications(/(create|type|\\d+/edit|\\d+/detail|\\d+/settings|\\d+/settings(/(users|tokens|tokens/create|roles|roles/create|policies|policies/create|spaces|spaces(/(create|\\d+/settings|\\d+/settings(/(tokens|roles|policies|users))))))))?))?/?>",
"url": "http://127.0.0.1:4455/.factly/kavach/web<(/(organisation|organisation/edit|organisation/create|organisation(/(\\d+/settings(/(tokens|tokens/create|roles|roles/create|roles(/(\\d+/users|\\d+/create|\\d+/edit))|policies|policies/create|policies(/(\\d+/view|\\d+/edit))|users|users/new))))|settings|password|profile|profile/invite|users|users(/new)|applications(/(create|type|\\d+/edit|\\d+/detail|\\d+/settings|\\d+/settings(/(users|tokens|tokens/create|roles|roles/create|roles(/(\\d+/users|\\d+/create|\\d+/edit))|policies|policies/create|policies(/(\\d+/view|\\d+/edit))|spaces|spaces(/(create|\\d+/edit|\\d+/settings|\\d+/settings(/(tokens|tokens/create|roles|roles/create|roles(/(\\d+/users|\\d+/create|\\d+/edit))|policies|policies/create|policies(/(\\d+/view|\\d+/edit))|users))))))))?))?/?>",
Copy link
Contributor

@shreeharsha-factly shreeharsha-factly Mar 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ishpaul777 regex can be improvised like organisation|organisation/edit|organisation/create
to organisation(/edit|/create)(/\)

roles(/(\\d+/users|\\d+/create|\\d+/edit) to roles(/(\\d+/(/users|/create|/edit))
I just stated few things but checkout for entire paths

Copy link

cloudflare-workers-and-pages bot commented Mar 18, 2024

Deploying kavach-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1142927
Status: ✅  Deploy successful!
Preview URL: https://c00c1834.kavach-docs.pages.dev
Branch Preview URL: https://fix-ory-access-rules.kavach-docs.pages.dev

View logs

@shreeharsha-factly shreeharsha-factly merged commit e0de424 into develop Mar 20, 2024
1 of 2 checks passed
@shreeharsha-factly shreeharsha-factly deleted the fix/ory-access-rules branch March 20, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants