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 group access permissions for a specified collection. It is useful in scenarios where you need to understand or audit which user groups have access rights to a particular collection of documents or data within your system. For example, an administrator might use this to verify that only authorized groups can view or modify sensitive collections.

Properties

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

Output

The output JSON contains the list of group permissions associated with the specified collection. Each entry typically includes details about a group and the level or type of access it has to the collection. This allows users to programmatically inspect and manage group-based access controls.

The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The node makes an HTTP GET request to the endpoint /collections/{collection_id}/group_permissions on the configured API base URL.
  • The API base URL is derived from credentials and must be properly set up in n8n.

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 group permissions.
  • Network or API errors: Check connectivity to the API endpoint and ensure the server is reachable.
  • Empty or unexpected response: Confirm that the collection has group permissions assigned; otherwise, the returned list may be empty.

Links and References

  • Refer to the external API documentation for details on the /collections/{collection_id}/group_permissions endpoint and its response format.
  • Consult your platform's user and group management guides for best practices on managing collection permissions.

Discussion