Allowed resource ids
Last updated
Was this helpful?
Last updated
Was this helpful?
Endpoint to get allowed resource IDs.
Args: user_id: ID of the user for which to get the allowed resource ids. resource: The resource for which to get the IDs. action: The action for which to get the IDs. auth_context: The authentication context. rbac: RBAC component. db: DB session.
Raises: IllegalOperationError: If the user is not an internal user.
Returns: A dictionary containing the allowed IDs and a boolean which specifies whether the user has full access to the resource.