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).
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||