This documentation is for an older version of GoodData.
Go to the latest version.
Organization Permissions
The MANAGE Organization permission gives the access to actions and resources across the entire GoodData deployment. This permission should be reserved for administrators.
Supported Permissions
The following permissions are applicable to the Organization object type:
MANAGEUser has access to any protected action or resource.
Set Permissions For an Organization
Permissions for an organization are set using the /api/v1/layout/organization declarative API endpoint.
Steps:
Make the following API call to fetch an up-to-date
jsondefinition of your organization layout:curl -H "Authorization: Bearer <your_bearer_token>" \ -H "Content-Type: application/json" \ -X GET \ <your_hostname>/api/v1/layout/organizationIn the organization layout
jsonfile, update thepermissionsdefinition:{ "organization": { ..., "permissions": [ { "assignee": { "id": "<user_id_or_user_group_id>", "type": "<user_or_userGroup>" }, "name": "MANAGE" } ] } }Update the organization using your updated
jsonin the following API call:curl -H "Authorization: Bearer <your_bearer_token>" \ -H "Content-Type: application/json" \ -X PUT \ <your_hostname>/api/v1/layout/organization -d @<your_updated_organization_layout>.json