get https://api.cloud.deepset.ai/api/v1/me/workspaces//permissions
Returns the permissions for the current user on the specified workspace.
It is a list of Permission objects, where each Permission has: - "asset" is the type of the asset the user has permissions to. - "action" is the action the user can perform on the asset.
Example:
for an admin: [{"asset": "pipelines", "action": "write"}]
for a search_user: [{"asset": "pipelines", "action": "read"}, ...]