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

Permission resources: Common code #1482

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

julienduchesne
Copy link
Member

Current situation:

  • Folder and datasource permissions have copy pasted code and same API
  • Service account permissions has the same API as the previous two resources, but different code
  • Dashboard permissions use a deprecated API

This PR brings all of the resource's code into a common helper

Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@julienduchesne julienduchesne force-pushed the julienduchesne/permission-common-code branch 4 times, most recently from 291bfad to 1568bc0 Compare April 12, 2024 16:52
Current situation:
- Folder and datasource permissions have copy pasted code and same API
- Service account permissions has the same API as the previous two resources, but different code
- Dashboard permissions use a deprecated API

This PR brings all of the resource's code into a common helper.
@julienduchesne julienduchesne force-pushed the julienduchesne/permission-common-code branch from 1568bc0 to 7d2649a Compare April 12, 2024 16:56
@julienduchesne julienduchesne marked this pull request as ready for review April 12, 2024 17:04
@julienduchesne julienduchesne requested a review from a team as a code owner April 12, 2024 17:04
@julienduchesne julienduchesne merged commit 32e4ac5 into main Apr 15, 2024
27 checks passed
@julienduchesne julienduchesne deleted the julienduchesne/permission-common-code branch April 15, 2024 12:14
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.

None yet

2 participants