Skip to content

gitops role authorization changes for fleetctl gitops#16710

Merged
getvictor merged 4 commits intomainfrom
victor/13643-gitops-role
Feb 12, 2024
Merged

gitops role authorization changes for fleetctl gitops#16710
getvictor merged 4 commits intomainfrom
victor/13643-gitops-role

Conversation

@getvictor
Copy link
Copy Markdown
Member

@getvictor getvictor commented Feb 9, 2024

To support fleetctl gitops, gitops role can now read policies/queries and write scripts.

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/ or orbit/changes/.
    See Changes files for more information.
  • Documented any permissions changes (docs/Using Fleet/manage-access.md)
  • Added/updated tests
  • Manual QA for all new/changed functionality

@getvictor getvictor marked this pull request as ready for review February 9, 2024 19:29
@getvictor getvictor requested review from a team and rachaelshaw as code owners February 9, 2024 19:29
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we are missing tests for:
Query read team
Query write global and team
Policy read team
Policy write global and team

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

NVM. Saw tests in other files.

lucasmrod
lucasmrod previously approved these changes Feb 9, 2024
sharon-fdm
sharon-fdm previously approved these changes Feb 9, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (abc0f00) 65.67% compared to head (e577ae0) 65.78%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16710      +/-   ##
==========================================
+ Coverage   65.67%   65.78%   +0.11%     
==========================================
  Files        1137     1139       +2     
  Lines       99527   100121     +594     
  Branches     2459     2459              
==========================================
+ Hits        65365    65867     +502     
- Misses      29278    29340      +62     
- Partials     4884     4914      +30     
Flag Coverage Δ
backend 66.86% <ø> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@getvictor getvictor merged commit 95437f9 into main Feb 12, 2024
@getvictor getvictor deleted the victor/13643-gitops-role branch February 12, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants