-
Notifications
You must be signed in to change notification settings - Fork 415
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
fix(roles/org-permission): Add missing viewset #2495
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2495 +/- ##
=======================================
Coverage ? 95.43%
=======================================
Files ? 963
Lines ? 27070
Branches ? 0
=======================================
Hits ? 25834
Misses ? 1236
Partials ? 0 ☔ View full report in Codecov by Sentry. |
api/conftest.py
Outdated
@@ -328,6 +328,11 @@ def view_project_permission(): | |||
return PermissionModel.objects.get(key=VIEW_PROJECT) | |||
|
|||
|
|||
@pytest.fixture() | |||
def create_project_permission(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this was moved? It also no longer depends on the db
fixture, which I think will break it (if it's used on its own at least).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To answer the first question: it was not being used. As for the second one: yes, added
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingChanges
Bump rbac module to add support for organisation roles permission viewset
How did you test this code?
Covered by rbac module