{"id":19036112,"url":"https://github.com/tx7do/kratos-casbin","last_synced_at":"2025-04-10T02:25:10.580Z","repository":{"id":39166974,"uuid":"470885495","full_name":"tx7do/kratos-casbin","owner":"tx7do","description":"kratos casbin middleware","archived":false,"fork":false,"pushed_at":"2025-03-24T04:34:04.000Z","size":454,"stargazers_count":35,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T00:06:16.458Z","etag":null,"topics":["access-control","acl","authorization","casbin","kratos","rbac"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tx7do.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-17T07:12:38.000Z","updated_at":"2024-12-30T06:25:20.000Z","dependencies_parsed_at":"2023-12-25T06:24:49.813Z","dependency_job_id":"f3459046-deb4-4587-8fd8-3f18169d29e9","html_url":"https://github.com/tx7do/kratos-casbin","commit_stats":{"total_commits":57,"total_committers":4,"mean_commits":14.25,"dds":"0.42105263157894735","last_synced_commit":"52f55995d3bd8534fd3a17e60af3efc21aa693ad"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fkratos-casbin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fkratos-casbin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fkratos-casbin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fkratos-casbin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tx7do","download_url":"https://codeload.github.com/tx7do/kratos-casbin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248143587,"owners_count":21054802,"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","acl","authorization","casbin","kratos","rbac"],"created_at":"2024-11-08T21:53:19.054Z","updated_at":"2025-04-10T02:25:10.551Z","avatar_url":"https://github.com/tx7do.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kratos-casbin\r\n\r\n## Casbin Authorization Middleware for Kratos.\r\n\r\n[Casbin](https://casbin.org) is a powerful and efficient open-source access control library for Go. It provides support for enforcing authorization based on various models. So far, the access control models supported by Casbin are:\r\n\r\n- ACL (Access Control List)\r\n- ACL with superuser\r\n- ACL without users: especially useful for systems that don’t have authentication or user log-ins.\r\n- ACL without resources: some scenarios may target for a type of resources instead of an individual resource by using permissions like write-article, read-log. It doesn’t control the access to a specific article or log.\r\n- RBAC (Role-Based Access Control)\r\n- RBAC with resource roles: both users and resources can have roles (or groups) at the same time.\r\n- RBAC with domains/tenants: users can have different role sets for different domains/tenants.\r\n- ABAC (Attribute-Based Access Control)\r\n- RESTful\r\n- Deny-override: both allow and deny authorizations are supported, deny overrides the allow.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fkratos-casbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftx7do%2Fkratos-casbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fkratos-casbin/lists"}