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 MANAGE_TAGS permission #4628

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Conversation

matthewelwell
Copy link
Contributor

Changes

Adds the MANAGE_TAGS permission as per #4600

How did you test this code?

Added new unit test.

@matthewelwell matthewelwell requested a review from a team as a code owner September 13, 2024 16:24
@matthewelwell matthewelwell requested review from khvn26 and removed request for a team September 13, 2024 16:24
Copy link

vercel bot commented Sep 13, 2024

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

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 9:26am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 9:26am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Sep 16, 2024 9:26am

@github-actions github-actions bot added api Issue related to the REST API feature New feature or request labels Sep 13, 2024
Copy link
Contributor

github-actions bot commented Sep 13, 2024

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-4628 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-4628 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-4628 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4628 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-4628 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4628 Finished ✅ Results

Copy link
Contributor

github-actions bot commented Sep 13, 2024

Uffizzi Preview deployment-56261 was deleted.

@github-actions github-actions bot added feature New feature or request and removed feature New feature or request labels Sep 16, 2024
@matthewelwell matthewelwell mentioned this pull request Sep 16, 2024
4 tasks
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.17%. Comparing base (52b9780) to head (efde6b0).
Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4628   +/-   ##
=======================================
  Coverage   97.17%   97.17%           
=======================================
  Files        1162     1163    +1     
  Lines       40267    40285   +18     
=======================================
+ Hits        39130    39148   +18     
  Misses       1137     1137           

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

@github-actions github-actions bot added feature New feature or request and removed feature New feature or request labels Sep 16, 2024
)


def reverse(apps: Apps, schema_editor: BaseDatabaseSchemaEditor) -> None: # pragma: no cover
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Justification for adding pragma: no cover here:

Considering the complexity of the code, and the very limited scope in which this code will ever be executed, I figured that it wasn't worth writing a migration test for it (since they are quite arduous to write).

I have tested the migration forwards and backwards manually.

@matthewelwell matthewelwell added this pull request to the merge queue Sep 26, 2024
Merged via the queue into main with commit 566520f Sep 26, 2024
35 checks passed
@matthewelwell matthewelwell deleted the feat/add-manage-tags-permission branch September 26, 2024 10:18
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 feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants