{"id":13841553,"url":"https://github.com/casbin/openstack-policy-editor","last_synced_at":"2025-10-10T15:49:19.225Z","repository":{"id":86627217,"uuid":"138103092","full_name":"casbin/openstack-policy-editor","owner":"casbin","description":"A Casbin Policy Editor for OpenStack","archived":false,"fork":false,"pushed_at":"2021-02-12T12:38:01.000Z","size":9863,"stargazers_count":33,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-01T12:34:45.188Z","etag":null,"topics":["abac","access-control","acl","auth","authorization","authz","casbin","editor","openstack","rbac"],"latest_commit_sha":null,"homepage":"https://cloud.casbin.org/","language":"JavaScript","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/casbin.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,"governance":null}},"created_at":"2018-06-21T01:15:40.000Z","updated_at":"2025-03-22T15:21:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d93f5089-4d15-4f1b-9458-f22529ca9df1","html_url":"https://github.com/casbin/openstack-policy-editor","commit_stats":{"total_commits":133,"total_committers":3,"mean_commits":"44.333333333333336","dds":0.2706766917293233,"last_synced_commit":"1eb54cc4ae2132487dbac52a8574c78326596bc5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/casbin/openstack-policy-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fopenstack-policy-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fopenstack-policy-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fopenstack-policy-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fopenstack-policy-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casbin","download_url":"https://codeload.github.com/casbin/openstack-policy-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casbin%2Fopenstack-policy-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004569,"owners_count":26083736,"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-10-10T02:00:06.843Z","response_time":62,"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":["abac","access-control","acl","auth","authorization","authz","casbin","editor","openstack","rbac"],"created_at":"2024-08-04T17:01:14.604Z","updated_at":"2025-10-10T15:49:19.196Z","avatar_url":"https://github.com/casbin.png","language":"JavaScript","readme":"# News: see our latest Casbin dashboard called Casdoor: https://github.com/casbin/casdoor\n\n# Casbin Web UI\nA portal \u0026 RESTful API for Casbin: https://cloud.casbin.org/\n\n## API\n\n1. GET ``/tenants``: Get all tenants, each tenant has an ID and a name.\n2. GET ``/tenants/\u003cTENANT_NAME\u003e``: Get the ``metadata.json`` for a tenant ``\u003cTENANT_NAME\u003e``.\n3. GET ``/tenants/\u003cTENANT_NAME\u003e/policies/\u003cPOLICY_NAME\u003e``: Get the ``xxx.csv`` policy for a tenant ``\u003cTENANT_NAME\u003e``.\n4. POST ``/tenants/\u003cTENANT_NAME\u003e``: Set the ``metadata.json`` for a tenant ``\u003cTENANT_NAME\u003e``.\n5. POST ``/tenants/\u003cTENANT_NAME\u003e/policies/\u003cPOLICY_NAME\u003e``: Set the ``\u003cPOLICY_NAME\u003e.json`` for a tenant ``\u003cTENANT_NAME\u003e``.\n6. GET ``/tenants/\u003cTENANT_NAME\u003e/users``: Get all users for a tenant ``\u003cTENANT_NAME\u003e``.\n7. GET ``/tenants/\u003cTENANT_NAME\u003e/users/\u003cUSER_NAME\u003e/commands``: Get all commands that can be run by the user ``\u003cUSER_NAME\u003e`` of tenant ``\u003cTENANT_NAME\u003e``.\n8. GET ``/tenants/\u003cTENANT_NAME\u003e/users/\u003cUSER_NAME\u003e/commands/\u003cCOMMAND\u003e``: Run command ``\u003cCOMMAND\u003e`` as the user ``\u003cUSER_NAME\u003e`` of tenant ``\u003cTENANT_NAME\u003e``.\n9. GET ``/reset``: Reset all data to the initial state.\n\n## Examples\n\n#### Policy\n\n1. https://cloud.casbin.org/tenants\n2. https://cloud.casbin.org/tenants/tenant1\n3. https://cloud.casbin.org/tenants/tenant1/policies/custom-policy.csv\n\n#### Model\n\n1. https://cloud.casbin.org/models/enable_model.conf\n2. https://cloud.casbin.org/models/restrict_model.conf\n3. https://cloud.casbin.org/models/custom_model.conf\n\n#### User\n\n1. https://cloud.casbin.org/tenants/admin/users\n2. https://cloud.casbin.org/tenants/tenant1/users\n\n#### Command\n\n1. https://cloud.casbin.org/tenants/admin/users/admin/commands\n2. https://cloud.casbin.org/tenants/admin/users/admin/commands/nova%20service-list\n3. https://cloud.casbin.org/tenants/tenant1/users/user1/commands/nova%20service-list\n4. https://cloud.casbin.org/tenants/tenant1/users/user1/commands/nova%20list\n5. https://cloud.casbin.org/tenants/tenant1/users/user2/commands/nova%20list\n","funding_links":[],"categories":["JavaScript","JavaScript (485)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fopenstack-policy-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasbin%2Fopenstack-policy-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasbin%2Fopenstack-policy-editor/lists"}