Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with the Gitea API to retrieve user permissions within a specified organization. Specifically, for the "Organization" resource and the "Org Get User Permissions" operation, it fetches the permission details of a given user in an organization. This is useful in scenarios where you need to programmatically verify or audit user access rights in your Gitea instance, such as automating access control checks or integrating permission data into other workflows.

Properties

Name Meaning
Username The username of the user whose permissions you want to retrieve.
Org The name of the organization in which to check the user's permissions.

Output

The node outputs JSON data containing the permission details of the specified user within the given organization. This typically includes the level of access or roles assigned to the user. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Gitea API.
  • The node expects the base URL of the Gitea instance to be configured in the credentials.
  • No additional external dependencies are indicated beyond the Gitea API.

Troubleshooting

  • Common issues:

    • Incorrect or missing API authentication token can cause authorization errors.
    • Providing a non-existent username or organization name will likely result in errors or empty permission data.
    • Network connectivity issues to the Gitea server can cause request failures.
  • Error messages:

    • Authorization errors usually indicate invalid or missing API credentials; ensure the API key is correctly set.
    • Not found errors suggest the username or organization does not exist; verify input values.
    • Timeout or connection errors imply network problems; check server availability and network settings.

Links and References

Discussion