h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation retrieves a list of access permissions for a specified collection. It is useful in scenarios where you need to audit or manage who has access rights to a particular collection of documents or data within your system. For example, an administrator can use this operation to verify which users or roles have permission to view or modify a collection, ensuring proper access control and security compliance.

Properties

Name Meaning
Collection ID The unique identifier (ID) of the collection for which to return the list of access permissions. This property is required.

Output

The output JSON contains the list of access permissions associated with the specified collection. Each entry in the list denotes a user or entity that has access to the collection along with their permission details. This allows downstream nodes or workflows to process or display the access control information.

The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The base URL for API requests is configured from the credential's URL, appended with /api/v1.
  • The node sends HTTP GET requests to the endpoint /collections/{collection_id}/permissions to fetch the permissions.

Troubleshooting

  • Missing or invalid Collection ID: Ensure the "Collection ID" property is provided and correctly references an existing collection.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions to access collection permissions.
  • Network or API errors: Check connectivity to the API endpoint and confirm the service is operational.
  • Empty permissions list: This may indicate no users currently have access; verify collection sharing settings.

Links and References

  • Refer to the external API documentation for collections and permissions management for detailed information on permission structures and usage.
  • Consult your platform's user and role management guides to understand how permissions are assigned and inherited.

Discussion