Configure object permissions¶
Validate and apply object grants, then query the object-permission view to confirm the result. This page covers object grants only, not data privileges or application permission policies.
Prerequisites¶
Prepare credentials that can access the target workspace, the principals to grant access to, and target-object information. For service endpoints, authentication, and general request formats, see Make your first AI Studio API call.
Validate grants before applying them. The available objects and grant conditions are defined by the corresponding action page.
Call sequence¶
Use Validate object grants to check the grants to submit.
After validation, apply object grants.
Use the object-permission view to confirm the currently observable grant result.
API operations¶
Validate, apply, and view grants¶
Task |
Use it when |
|---|---|
Check grants to submit before applying them. |
|
Submit grant changes after validation. |
|
Confirm object permissions after applying grants. |
Confirm the result¶
After applying grants, use Get the object-permission view to confirm the currently observable grant result.