{"id":19601487,"url":"https://github.com/stackstorm/st2-rbac-backend","last_synced_at":"2025-07-30T05:07:49.317Z","repository":{"id":45444583,"uuid":"175056530","full_name":"StackStorm/st2-rbac-backend","owner":"StackStorm","description":"RBAC backend for StackStorm (previously part of EWC aka StackStorm Enteprise)","archived":false,"fork":false,"pushed_at":"2025-07-15T20:16:04.000Z","size":602,"stargazers_count":5,"open_issues_count":12,"forks_count":13,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-16T18:15:57.793Z","etag":null,"topics":["backend","python","rbac","st2","stackstorm"],"latest_commit_sha":null,"homepage":"https://docs.stackstorm.com/latest/rbac.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackStorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"community_bridge":"stackstorm"}},"created_at":"2019-03-11T18:04:22.000Z","updated_at":"2025-07-15T20:16:09.000Z","dependencies_parsed_at":"2024-02-04T23:43:16.444Z","dependency_job_id":null,"html_url":"https://github.com/StackStorm/st2-rbac-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StackStorm/st2-rbac-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-rbac-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-rbac-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-rbac-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-rbac-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackStorm","download_url":"https://codeload.github.com/StackStorm/st2-rbac-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-rbac-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267814805,"owners_count":24148329,"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-07-30T02:00:09.044Z","response_time":70,"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":["backend","python","rbac","st2","stackstorm"],"created_at":"2024-11-11T09:18:36.854Z","updated_at":"2025-07-30T05:07:49.292Z","avatar_url":"https://github.com/StackStorm.png","language":"Python","readme":"# RBAC Backend for StackStorm\n\n[![RBAC Unit Tests Status](https://github.com/StackStorm/st2-rbac-backend/actions/workflows/lint-and-unit-tests.yml/badge.svg)](https://github.com/StackStorm/st2-rbac-backend/actions/workflows/lint-and-unit-tests.yml)\n\nThe RBAC backend started as part of StackStorm core repo and then moved out into a separate\nrepo for enterprise purposes. Some enterprise features such as RBAC has been made open\nsourced as part of the donation to Linux Foundation in 2019.\n\nNOTE: Due to the original code structure and the code originally living as part of the\nopen source StackStorm/st2 repo, some of the utility RBAC code is still part of the open\nsource repo (that code is of little use without the permission resolving classes which\ncontain majority of the business logic though).\n\n## Installation\n\nNOTE: This happens automatically when using bwc installer script.\n\n1. Make sure the backend Python package is installed inside StackStorm virtualenv\n   (``/opt/stackstorm/st2/``)\n2: Edit StackStorm config (``/etc/st2/st2.conf``):\n\n```ini\n...\n[rbac]\nenable = True\nbackend = default\n...\n3. Restart all the services - ``sudo st2ctl restart``\n\n## Running Lint Checks and Tests\n\nTo run lint checks and unit tests you can use ``lint`` and  ``unit-tests`` make targets.\nThis will clone ``StackStorm/st2`` repo into ``/tmp/st2``, install StackStorm dependencies in\na purpose built virtual environment and add all StackStorm Python packages from\n``/tmp/st2``  into ``PYTHONPATH`` for those make targets.\n\n```bash\nmake lint\nmake unit-tests\n```\n\nIf virtual environment is already created and all the dependencies installed, you can skip\ndependency steps by simply running lint and tests:\n\n```bash\nmake .lint\nmake .unit-tests\n```\n\nIf you want to test those changes against a specific version of StackStorm/st2 repo, you can set\n``ST2_REPO_BRANCH`` environment variable. For example:\n\n```bash\nST2_REPO_BRANCH=my-super-feature make unit-tests\n```\n\nKeep in mind that you can also simply symlink your working copy of ``StackStorm/st2`` repo to\n``/tmp/st2``. This way you can test changes with your work which hasn't been committed / pushed\nupstream yet.\n\n## Copyright, License, and Contributors Agreement\n\nCopyright 2015-2020 Extreme Networks, Inc.\n\nCopyright 2020 StackStorm, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at:\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nBy contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.\n","funding_links":["https://funding.communitybridge.org/projects/stackstorm"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2-rbac-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackstorm%2Fst2-rbac-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2-rbac-backend/lists"}