{"id":44726438,"url":"https://github.com/yoogoc/fga-rs","last_synced_at":"2026-02-15T17:48:48.723Z","repository":{"id":227887738,"uuid":"761134563","full_name":"yoogoc/fga-rs","owner":"yoogoc","description":"authorization/permission service, inspired by Google Zanzibar","archived":false,"fork":false,"pushed_at":"2025-04-07T01:02:18.000Z","size":270,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T02:21:45.125Z","etag":null,"topics":["authorization","authorization-server","permission","rust","zanzibar"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/yoogoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-21T09:56:45.000Z","updated_at":"2025-04-07T01:02:15.000Z","dependencies_parsed_at":"2024-04-06T12:23:33.648Z","dependency_job_id":"c378a90f-2c90-4845-99c0-50dc4cbd1c77","html_url":"https://github.com/yoogoc/fga-rs","commit_stats":null,"previous_names":["yoogoc/fga-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yoogoc/fga-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoogoc%2Ffga-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoogoc%2Ffga-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoogoc%2Ffga-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoogoc%2Ffga-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoogoc","download_url":"https://codeload.github.com/yoogoc/fga-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoogoc%2Ffga-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29486040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authorization","authorization-server","permission","rust","zanzibar"],"created_at":"2026-02-15T17:48:48.256Z","updated_at":"2026-02-15T17:48:48.718Z","avatar_url":"https://github.com/yoogoc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fga-rs\n\nwip(breaking changes at any time)\n\n## what is fga-rs\n\nfga-rs is a Fine Grained Authorization written in rust, such as openfga, permify, spicedb and so on.\n\nfga-rs is a permission server for real time, enterprise application permissions inspired by Google Zanzibar.\n\n## why fga-rs\n\n1. written in rust\n2. support superadmin\n3. support fast condition eval(wip)\n\n## Getting Started\n\n### required\n\n1. [rust](https://www.rust-lang.org/)\n2. [postgres](https://postgresql.org/)\n\n### init db\n\n```shell\ncargo run -p cli -- migration up -u postgres://postgres@127.0.0.1:5432/fga-rs\n```\n\n### start\n\n```shell\ncargo run -p cli -- server -u postgres://postgres@127.0.0.1:5432/fga-rs\n```\n\n## TODO\n\n- [x] schema: design(such as model.authz), parser(use lalrpop)\n- [x] schema: support permission: union(+ |), intersection(\u0026), exclude(-), priority\n- [ ] support condition(expr eval)\n- [x] remote checker\n- [x] grpc\n- [x] refactor check request\n- [x] expand tuple\n- [x] opentelemetry\n- [ ] config file use toml\n- [x] migration database\n- [x] test\n- [ ] playground\n- [ ] vscode-extension\n- [ ] lsp\n- [ ] sdk (priority: rust, java, go, js, python, ruby...)\n\n## Credit\n\n1. [openfga](https://github.com/openfga/openfga)\n2. [permify](https://github.com/Permify/permify)\n3. [spicedb](https://github.com/authzed/spicedb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoogoc%2Ffga-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoogoc%2Ffga-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoogoc%2Ffga-rs/lists"}