{"id":21372998,"url":"https://github.com/hiqdev/hipanel-rbac","last_synced_at":"2025-07-13T07:32:39.552Z","repository":{"id":6954848,"uuid":"55790665","full_name":"hiqdev/hipanel-rbac","owner":"hiqdev","description":"RBAC implementation for HiPanel","archived":false,"fork":false,"pushed_at":"2024-10-11T10:21:43.000Z","size":352,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-10T18:45:40.319Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiqdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2016-04-08T15:45:21.000Z","updated_at":"2024-10-11T10:21:47.000Z","dependencies_parsed_at":"2024-04-19T10:46:39.863Z","dependency_job_id":"8023c1b0-2ddf-4576-ac28-8ae70b44917c","html_url":"https://github.com/hiqdev/hipanel-rbac","commit_stats":{"total_commits":267,"total_committers":7,"mean_commits":"38.142857142857146","dds":"0.37453183520599254","last_synced_commit":"18d865597b97001a49032745b6d81cb5e5b65d5c"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fhipanel-rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fhipanel-rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fhipanel-rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiqdev%2Fhipanel-rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiqdev","download_url":"https://codeload.github.com/hiqdev/hipanel-rbac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225865497,"owners_count":17536464,"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":["hacktoberfest"],"created_at":"2024-11-22T08:24:29.838Z","updated_at":"2024-11-22T08:24:30.424Z","avatar_url":"https://github.com/hiqdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HiPanel RBAC\n\n**RBAC implementation for HiPanel**\n\n[![Latest Stable Version](https://poser.pugx.org/hiqdev/hipanel-rbac/v/stable)](https://packagist.org/packages/hiqdev/hipanel-rbac)\n[![Total Downloads](https://poser.pugx.org/hiqdev/hipanel-rbac/downloads)](https://packagist.org/packages/hiqdev/hipanel-rbac)\n[![Build Status](https://img.shields.io/travis/hiqdev/hipanel-rbac.svg)](https://travis-ci.org/hiqdev/hipanel-rbac)\n[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/hipanel-rbac.svg)](https://scrutinizer-ci.com/g/hiqdev/hipanel-rbac/)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/hipanel-rbac.svg)](https://scrutinizer-ci.com/g/hiqdev/hipanel-rbac/)\n\n[![Logo](https://raw.githubusercontent.com/hiqdev/hipanel-core/master/docs/logo.png)](https://hipanel.com/)\n\n[HiPanel](http://hipanel.com/) is the next generation control panel for hosting, domains and more.\n\nThis package provides RBAC implementation for HiPanel:\n\n- authorization data: roles and permissions\n- helpers\n\n## Installation\n\nThe preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```sh\nphp composer.phar require \"hiqdev/hipanel-rbac\"\n```\n\nor add\n\n```json\n\"hiqdev/hipanel-rbac\": \"*\"\n```\n\nto the require section of your composer.json.\n\n## Usage\n\nTo add a role or permission you need to write it to `src/files/tree.php`.\nAfter adding roles you have to generate description to it by command:\n\n    ./vendor/bin/hidev rbac/reinit\n\nAfter these actions all rules are saved, and you need to check it by unit tests.\nRun `./vendor/bin/phpunit` and correct `CheckAccessTrait` to fix errors.\n\n### TypeScript tree file\n\n`js/index.ts` file will be generated with all rbac console commands (`reinit, init, generate-descriptions`).\nAlso you can generate it with `generate-js` command.\n\n## License\n\nThis project is released under the terms of the BSD-3-Clause [license](LICENSE).\nRead more [here](http://choosealicense.com/licenses/bsd-3-clause).\n\nCopyright © 2016-2019, HiQDev (http://hiqdev.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fhipanel-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiqdev%2Fhipanel-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiqdev%2Fhipanel-rbac/lists"}