Actions56
- API Call Actions
- Bundle Actions
- Community Actions
- Course Actions
- Group Actions
- Hub Actions
- Member Actions
- Module Actions
- Popup Actions
- Webhook Actions
Overview
This node integrates with the LearningSuite API to manage access permissions for "Hubs" within the system. Specifically, the "Give Hub Access" operation allows users to grant access rights to a specified hub by assigning members, groups, and/or bundles. This is useful in scenarios where you want to control who can view or interact with content or resources grouped under a hub.
Practical examples include:
- Granting a set of users (members) access to a training hub.
- Assigning entire user groups or bundles to a hub for streamlined permission management.
- Combining members, groups, and bundles to customize access control flexibly.
Properties
| Name | Meaning |
|---|---|
| Hub Name or ID | The identifier of the hub to which access will be granted. You can select from a list or specify an ID via expression. |
| Group Names or IDs | A list of group identifiers to grant access to the hub. Select from available groups or specify IDs via expression. |
| Bundle Names or IDs | A list of bundle identifiers to grant access to the hub. Select from available bundles or specify IDs via expression. |
| Member Names or IDs | A list of member identifiers to grant access to the hub. Select from available members or specify IDs via expression. |
Note: At least one of Groups, Bundles, or Members must be selected to grant access.
Output
The node outputs a JSON array containing the results of the access granting operation. Each item in the output corresponds to the response from the API for the given input data. The structure typically includes confirmation of successful access assignment or details about any errors encountered.
No binary data output is produced by this node.
Dependencies
- Requires a valid API key credential for authenticating with the LearningSuite API.
- The node depends on LearningSuite's API endpoints for hubs, groups, bundles, and members.
- Proper configuration of the base URL for the LearningSuite API is necessary in the credentials.
Troubleshooting
Common Issues:
- Providing invalid or non-existent hub, group, bundle, or member IDs will cause the API call to fail.
- Not selecting at least one of members, groups, or bundles will result in no access being granted.
- Network or authentication issues may prevent successful API communication.
Error Messages:
"No handler for resource "hub" and operation "addAccess"": Indicates that the operation is not supported or incorrectly specified.- API error responses related to invalid IDs or insufficient permissions will be propagated as node errors.
Resolutions:
- Verify that all IDs used exist and are correct.
- Ensure the API key credential has sufficient permissions.
- Confirm network connectivity and correct API base URL configuration.
Links and References
- LearningSuite API Documentation
- n8n Expressions Documentation – for using expressions in property fields