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

RBAC #1214

Merged
merged 75 commits into from
Jan 29, 2025
Merged

RBAC #1214

merged 75 commits into from
Jan 29, 2025

Conversation

tomchop
Copy link
Collaborator

@tomchop tomchop commented Dec 29, 2024

No description provided.

Copy link
Collaborator

@udgover udgover left a comment

Choose a reason for hiding this comment

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

Left some comments while waiting for the final review. Looks really cool!

core/database_arango.py Show resolved Hide resolved
core/schemas/graph.py Outdated Show resolved Hide resolved
core/web/apiv2/auth.py Show resolved Hide resolved
@tomchop tomchop marked this pull request as ready for review January 28, 2025 16:07
@tomchop tomchop requested a review from udgover January 28, 2025 16:09
Copy link
Collaborator

@udgover udgover left a comment

Choose a reason for hiding this comment

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

Really nice PR! However, I've added several comments to be sure I've fully understood the inner working.

Besides, I'm wondering how search api endpoints should be handled regarding permissions. For a unique object endpoints (read, write, delete) it's handled with permissions decorator but search endpoints are not decorated. Do you confirm that for search we rely on database_arango.filter to do the job?

core/schemas/dfiq.py Show resolved Hide resolved
core/schemas/dfiq.py Show resolved Hide resolved
core/schemas/model.py Show resolved Hide resolved
core/schemas/rbac.py Show resolved Hide resolved
core/schemas/rbac.py Show resolved Hide resolved
core/schemas/rbac.py Show resolved Hide resolved
core/database_arango.py Show resolved Hide resolved
Copy link
Collaborator

@udgover udgover left a comment

Choose a reason for hiding this comment

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

LGTM!

@tomchop tomchop merged commit 7974c09 into main Jan 29, 2025
2 checks passed
@tomchop tomchop deleted the rbac branch January 29, 2025 09:59
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