{"id":26668996,"url":"https://github.com/soufantech/hie","last_synced_at":"2025-04-12T02:01:13.782Z","repository":{"id":57161621,"uuid":"329009473","full_name":"soufantech/hie","owner":"soufantech","description":"hie allows you to effortlessly check for user permissions across a graph of roles/permissions of arbitrary complexity.","archived":false,"fork":false,"pushed_at":"2021-01-12T14:40:56.000Z","size":99,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T21:45:28.803Z","etag":null,"topics":["access-control","authorization","permission","rbac","role"],"latest_commit_sha":null,"homepage":"","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/soufantech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-12T14:18:51.000Z","updated_at":"2021-03-12T01:29:15.000Z","dependencies_parsed_at":"2022-09-09T05:53:57.341Z","dependency_job_id":null,"html_url":"https://github.com/soufantech/hie","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soufantech%2Fhie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soufantech%2Fhie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soufantech%2Fhie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soufantech%2Fhie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soufantech","download_url":"https://codeload.github.com/soufantech/hie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505862,"owners_count":21115354,"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","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":["access-control","authorization","permission","rbac","role"],"created_at":"2025-03-25T21:36:08.599Z","updated_at":"2025-04-12T02:01:13.735Z","avatar_url":"https://github.com/soufantech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://avatars2.githubusercontent.com/u/61063724?s=200\u0026v=4\" width=\"100px\"\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e@soufantech/hie\u003c/h1\u003e\n  \u003cp\u003ehie allows you to build role hierarchies of any complexity and easily check user permissions across them.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![typescript-image]][typescript-url] [![jest-image]][jest-url] [![npm-image]][npm-url]\n\n\u003c/div\u003e\n\n## Installing\n\nwith yarn\n\n`yarn add @soufantech/hie`\n\nor npm\n\n`npm install @soufantech/hie`\n\n## Todo:\n\n- docs: add usage examples;\n- chore: add and configure semantic-release;\n- refactor: refactor authorities to their own folder;\n  - move `RoleAuthority` interface from role-matcher.ts;\n- test: remove use of `getMapping` function in `HierarchicalRoleAuthority` tests;\n- refactor: remove `getMapping` function;\n- feat: define role hierarchy as string (more or less like Spring Boot does);\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with ❤︎ by \u003ca href=\"http://soufan.com.br\"\u003eSouFan\u003c/a\u003e\n\u003c/div\u003e\n\n[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge\u0026logo=typescript\n[typescript-url]:  \"typescript\"\n\n[npm-image]: https://img.shields.io/npm/v/@soufantech/hie.svg?style=for-the-badge\u0026logo=npm\n[npm-url]: https://npmjs.org/package/@soufantech/hie \"npm\"\n\n[jest-image]: https://img.shields.io/badge/tested_with-jest-99424f.svg?style=for-the-badge\u0026logo=jest\n[jest-url]: https://github.com/facebook/jest \"jest\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoufantech%2Fhie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoufantech%2Fhie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoufantech%2Fhie/lists"}