Grant configuration
Download JSON Schema
Example
apiVersion: leapview.dev/v1
kind: Grant
metadata:
name: example
spec:
object:
type: workspace
privilege: USE_WORKSPACE
subject:
kind: principal
Fields
| Field |
Type |
Required |
Rules |
apiVersion |
APIVersion |
Yes |
|
kind |
Grant |
Yes |
|
metadata |
Metadata |
Yes |
|
spec |
object |
Yes |
no additional fields |
Nested definitions
APIVersion
| Field |
Type |
Required |
Rules |
AccessSubject
| Field |
Type |
Required |
Rules |
displayName |
string |
No |
|
email |
string |
No |
|
group |
ResourceID |
No |
|
kind |
object |
Yes |
one of principal, group, service_principal |
principalId |
ResourceID |
No |
|
| Field |
Type |
Required |
Rules |
description |
string |
No |
|
name |
ResourceID |
Yes |
|
owner |
string |
No |
|
tags |
array of string |
No |
|
title |
string |
No |
|
workspace |
ResourceID |
No |
|
Privilege
| Field |
Type |
Required |
Rules |
ResourceID
| Field |
Type |
Required |
Rules |
SecurableObjectRef
| Field |
Type |
Required |
Rules |
id |
string |
No |
|
type |
object |
Yes |
one of workspace, dashboard, semantic_model, source, model_table, dataset, table, column |