{"id":30798516,"url":"https://github.com/permitio/n8n-nodes-permitio","last_synced_at":"2025-09-05T18:12:28.079Z","repository":{"id":312263711,"uuid":"1045581143","full_name":"permitio/n8n-nodes-permitio","owner":"permitio","description":"n8n node to interact with Permit.io fine-grained authorization service","archived":false,"fork":false,"pushed_at":"2025-08-28T07:14:09.000Z","size":372,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T15:26:13.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/permitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-27T12:02:20.000Z","updated_at":"2025-08-28T07:14:25.000Z","dependencies_parsed_at":"2025-08-29T15:26:20.740Z","dependency_job_id":"ca63c742-34da-47b4-9774-888868927823","html_url":"https://github.com/permitio/n8n-nodes-permitio","commit_stats":null,"previous_names":["permitio/n8n-nodes-permitio"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/permitio/n8n-nodes-permitio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fn8n-nodes-permitio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fn8n-nodes-permitio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fn8n-nodes-permitio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fn8n-nodes-permitio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permitio","download_url":"https://codeload.github.com/permitio/n8n-nodes-permitio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fn8n-nodes-permitio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273797730,"owners_count":25170124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-05T18:12:22.318Z","updated_at":"2025-09-05T18:12:28.065Z","avatar_url":"https://github.com/permitio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# n8n-nodes-permitio\n\nAn n8n community node for integrating with [Permit.io](https://permit.io) authorization service. This node allows you to check permissions, retrieve user permissions, and get authorized users directly within your n8n workflows.\n\n## Features\n\n- **Check Permissions**: Verify if a user has permission to perform a specific action on a resource\n- **Get User Permissions**: Retrieve all permissions for a specific user across tenants and resources\n- **Get Authorized Users**: Find all users authorized to perform a specific action on a resource type\n\n## Installation\n\n### Community Nodes (Recommended)\n\n1. Go to **Settings \u003e Community Nodes** in your n8n instance\n2. Select **Install**\n3. Enter `n8n-nodes-permitio`\n4. Select **Install**\n\nAfter installation restart n8n to register the new nodes.\n\n### Manual Installation\n\nTo get started install the package in your n8n root directory:\n\n```bash\nnpm install n8n-nodes-permitio\n```\n\nFor Docker-based deployments add the following line before the font installation command in your n8n Dockerfile:\n\n```dockerfile\nRUN cd /usr/local/lib/node_modules/n8n \u0026\u0026 npm install n8n-nodes-permitio\n```\n\n## Credentials Configuration\n\nBefore using the Permit node, you need to configure your Permit.io credentials:\n\n1. In n8n, go to **Credentials** and create new **Permit API** credentials\n2. Fill in the required fields:\n   - **API Key**: Your Permit.io API key (get it from [Permit Dashboard](https://app.permit.io))\n   - **PDP URL**: Policy Decision Point URL (defaults to `https://cloudpdp.api.permit.io`)\n\n### Getting Your API Key\n\n1. Log in to your [Permit.io Dashboard](https://app.permit.io)\n2. Navigate to the **Settings** section\n3. Copy your **API Key**\n4. For local development, you may need to run a local PDP instance\n\n## Operations\n\n### Check Permission\n\nVerifies if a user has permission to perform a specific action on a resource.\n\n**Parameters:**\n\n- **User** (required): User identifier (email or user key)\n- **Action** (required): Action to check (e.g., \"read\", \"write\", \"delete\")\n- **Resource** (required): Resource type to check access to (e.g., \"document\", \"file\")\n- **Tenant** (optional): Tenant identifier (defaults to \"default\")\n\n**Example Response:**\n\n```json\n{\n\t\"allow\": true,\n\t\"reason\": \"user 'john@example.com' has the role 'editor' in tenant 'default', role 'editor' has the 'read' permission on resources of type 'document'\"\n}\n```\n\n### Get User Permissions\n\nRetrieves all permissions for a specific user across all tenants.\n\n**Parameters:**\n\n- **User** (required): User identifier to get permissions for\n- **Resource Types** (optional): Comma-separated list of resource types to filter by (e.g., \"document,folder,\\_\\_tenant\")\n- **Enable ABAC** (optional): Enable Attribute-Based Access Control for more detailed permissions\n\n**Special Resource Types:**\n\n- Use `__tenant` to include tenant-level permissions (admin, management permissions)\n- Leave empty to get permissions for all resource types\n\n**Example Response:**\n\n```json\n{\n\t\"tenant1\": {\n\t\t\"document\": {\n\t\t\t\"doc1\": [\"read\", \"write\"],\n\t\t\t\"doc2\": [\"read\"]\n\t\t},\n\t\t\"__tenant\": {\n\t\t\t\"tenant1\": [\"admin\"]\n\t\t}\n\t}\n}\n```\n\n### Get Authorized Users\n\nFinds all users authorized to perform a specific action on a resource type.\n\n**Parameters:**\n\n- **Action** (required): Action to check authorization for (e.g., \"read\", \"write\")\n- **Resource Type** (required): Type of resource (e.g., \"document\", \"folder\")\n- **Tenant** (optional): Tenant identifier (defaults to \"default\")\n- **Resource Attributes** (optional): JSON object with resource attributes for filtering\n- **Enable ABAC** (optional): Enable Attribute-Based Access Control\n\n**Example Resource Attributes:**\n\n```json\n{\n\t\"cost\": 1000,\n\t\"department\": \"engineering\"\n}\n```\n\n**Example Response:**\n\n```json\n[\n\t{\n\t\t\"user\": {\n\t\t\t\"key\": \"john@example.com\",\n\t\t\t\"email\": \"john@example.com\"\n\t\t},\n\t\t\"role\": \"editor\"\n\t},\n\t{\n\t\t\"user\": {\n\t\t\t\"key\": \"jane@example.com\",\n\t\t\t\"email\": \"jane@example.com\"\n\t\t},\n\t\t\"role\": \"admin\"\n\t}\n]\n```\n\n## Usage Examples\n\n### Basic Permission Check Workflow\n\n1. Add a **Manual Trigger** node\n2. Add the **Permit** node and select **Check** operation\n3. Configure:\n   - **User**: `john@example.com`\n   - **Action**: `read`\n   - **Resource**: `document`\n   - **Tenant**: `default`\n4. Add an **IF** node to handle the permission result based on the `allow` field\n\n### User Permissions Audit\n\n1. Use **Get User Permissions** operation\n2. Set **Resource Types** to `document,folder,__tenant` to get comprehensive permissions\n3. Process the response to create permission reports or dashboards\n\n## Support\n\n- [Permit.io Documentation](https://docs.permit.io/)\n- [n8n Community Forum](https://community.n8n.io/)\n- [GitHub Issues](https://github.com/permitio/n8n-nodes-permitio/issues)\n\n## License\n\n[MIT](LICENSE.md)\n\n## Contributing\n\nContributions are welcome! Please read our contributing guidelines and submit pull requests to our GitHub repository.\n\n---\n\nBuilt with ❤️ for the n8n community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fn8n-nodes-permitio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermitio%2Fn8n-nodes-permitio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fn8n-nodes-permitio/lists"}