Get my data source permissions

Returns the permissions the current user has on a data source, combined from every source of access. Use it to know what the user can do (edit features, extract, modify, ...) without being an owner.

Required role: ORG_EDITOR, and the current user must have the VIEW permission on the data source.

Response

result is a list with a single entry, whose principal is the current user's email. Its permissions combine:

  • the permissions given to the user directly
  • the permissions of the user's groups
  • the permissions of the user's organization ([email protected]), including a trusted organization
  • the permissions given to all organizations ([email protected])

Permissions inherited from projects are included; inheritedPermissions lists them with the project they come from.

Data sources shared by another organization

organization is the organization that owns the data source, not necessarily yours. For a data source shared with your organization, use the owner's organization id (the organizationId returned by GET /organizations/{organization}/datasources).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of the organization that owns the data source (yours, or the one that shared it)

uuid
required

Id of the data source

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json