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

feat: Add new url for role master api keys #3215

Merged
merged 9 commits into from
Dec 22, 2023

Conversation

novakzaballa
Copy link
Contributor

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

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • 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

Add new URL for role's API keys.
GET: organisations/{organisation_pk}/roles-api-key/{prefix}/

Related with #3042 and https://github.com/Flagsmith/flagsmith-rbac/pull/14

How did you test this code?

The unit tests included in the RBAC PR: https://github.com/Flagsmith/flagsmith-rbac/pull/14

Copy link

vercel bot commented Dec 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 Dec 22, 2023 3:25pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2023 3:25pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2023 3:25pm

@github-actions github-actions bot added the api Issue related to the REST API label Dec 21, 2023
@novakzaballa novakzaballa changed the title Feat/add new url for role master api keys Feat: Add new url for role master api keys Dec 21, 2023
@novakzaballa novakzaballa changed the title Feat: Add new url for role master api keys feat: Add new url for role master api keys Dec 22, 2023
Copy link
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

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

This looks fine but it should NOT be merged without bumping the RBAC version with the new viewset.

Copy link
Contributor

github-actions bot commented Dec 22, 2023

Uffizzi Preview deployment-43439 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (d677f33) 95.99% compared to head (0a6088c) 95.99%.
Report is 7 commits behind head on main.

❗ Current head 0a6088c differs from pull request most recent head 0ba1092. Consider uploading reports for the commit 0ba1092 to get more accurate results

Files Patch % Lines
api/organisations/urls.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3215      +/-   ##
==========================================
- Coverage   95.99%   95.99%   -0.01%     
==========================================
  Files        1062     1062              
  Lines       32265    32299      +34     
==========================================
+ Hits        30973    31005      +32     
- Misses       1292     1294       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell
Copy link
Contributor

@novakzaballa this PR should also bump the RBAC version to 0.7.0

@matthewelwell matthewelwell added this pull request to the merge queue Dec 22, 2023
Merged via the queue into main with commit 924149c Dec 22, 2023
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