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: tag based permissions validation #4815

Merged

Conversation

kyle-ssg
Copy link
Member

@kyle-ssg kyle-ssg commented Nov 6, 2024

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

  • 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

Adjusts frontend to query permissions based on tags, requires #4813

useHasPermission and <Permission will now accept an optional tags array which will be used as an additional check against tag_based_permissions before returning a result.

How did you test this code?

waiting on #4813

flagsmithdev and others added 30 commits October 8, 2024 14:03
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Aysan <zachaysan@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Aysan <zachaysan@gmail.com>
@github-actions github-actions bot added docs Documentation updates infrastructure feature New feature or request and removed feature New feature or request infrastructure docs Documentation updates labels Nov 12, 2024
Copy link
Contributor

github-actions bot commented Nov 12, 2024

Uffizzi Preview deployment-58185 was deleted.

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.33%. Comparing base (85556a0) to head (a940e9a).
Report is 49 commits behind head on feat/tag-based-permissions.

Additional details and impacted files
@@                      Coverage Diff                       @@
##           feat/tag-based-permissions    #4815      +/-   ##
==============================================================
+ Coverage                       97.30%   97.33%   +0.02%     
==============================================================
  Files                            1175     1180       +5     
  Lines                           40904    41231     +327     
==============================================================
+ Hits                            39802    40131     +329     
+ Misses                           1102     1100       -2     

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

@github-actions github-actions bot added docs Documentation updates infrastructure feature New feature or request and removed feature New feature or request infrastructure docs Documentation updates labels Nov 12, 2024
@kyle-ssg kyle-ssg merged commit a940e9a into feat/tag-based-permissions Nov 12, 2024
30 checks passed
@kyle-ssg kyle-ssg deleted the feat/tag-based-permissions-validation branch November 12, 2024 14:37
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 front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.