* WIP: List * make toV0ResourcePermissions work with an ordered list of assignments to ensure consistency in the results * Test templates * Split list query in two. I clearly need scopePatterns * Add pagination with offsets * Remove unecessary comment * implement listiterator * add listiterator tests * return the correct resource version * use SkipIntegrationTestInShortMode * No need for the extra check on pagination being correctly set Co-authored-by: Ieva <ieva.vasiljeva@grafana.com> * Spec is out of date * Remove wrong comment * Add a test for the pagination token --------- Co-authored-by: mohammad-hamid <mohammad.hamid@grafana.com> Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
17 lines
343 B
YAML
17 lines
343 B
YAML
apiVersion: iam.grafana.app/v0alpha1
|
|
kind: ResourcePermission
|
|
metadata:
|
|
name: dashboard.grafana.app-dashboards-ad5rwqs
|
|
spec:
|
|
resource:
|
|
apiGroup: dashboard.grafana.app
|
|
resource: dashboards
|
|
name: ad5rwqs
|
|
permissions:
|
|
- kind: User
|
|
name: few8wwtp1si68e
|
|
verb: edit
|
|
- kind: BasicRole
|
|
name: Editor
|
|
verb: view
|
|
|