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

fix(roles/org-permission): Add missing viewset #2495

Merged
merged 4 commits into from
Jul 25, 2023

Conversation

gagantrivedi
Copy link
Member

@gagantrivedi gagantrivedi commented Jul 21, 2023

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Bump rbac module to add support for organisation roles permission viewset

How did you test this code?

Covered by rbac module

@vercel
Copy link

vercel bot commented Jul 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 0:29am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 0:29am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 0:29am

@github-actions github-actions bot added the api Issue related to the REST API label Jul 21, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 21, 2023

Uffizzi Preview deployment-31473 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@f20c40f). Click here to learn what that means.
Patch has no changes to coverable lines.

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.
📢 Have feedback on the report? Share it here.

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():
Copy link
Contributor

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).

Copy link
Member Author

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

@gagantrivedi gagantrivedi merged commit 2b56c7c into main Jul 25, 2023
@gagantrivedi gagantrivedi deleted the fix/roles-add-missing-view branch July 25, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants