{"id":23146372,"url":"https://github.com/infosys/openfga-plugin-backstage","last_synced_at":"2025-10-10T13:37:57.448Z","repository":{"id":266420416,"uuid":"897888801","full_name":"Infosys/openfga-plugin-backstage","owner":"Infosys","description":"This plugin wraps around the Backstage Permission Framework and uses the OPENFGA client to evaluate policies. It will send a request to OPENFGA with the permission and identity information, OPENFGA will then evaluate the policy and return a decision, which is then passed back to the Permission Framework.","archived":false,"fork":false,"pushed_at":"2024-12-12T04:52:33.000Z","size":4166,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-12T05:26:54.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Infosys.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":"2024-12-03T12:20:25.000Z","updated_at":"2024-12-12T04:52:38.000Z","dependencies_parsed_at":"2024-12-04T07:46:32.753Z","dependency_job_id":null,"html_url":"https://github.com/Infosys/openfga-plugin-backstage","commit_stats":null,"previous_names":["infosys/openfga-plugin-backstage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infosys%2Fopenfga-plugin-backstage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infosys%2Fopenfga-plugin-backstage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infosys%2Fopenfga-plugin-backstage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infosys%2Fopenfga-plugin-backstage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Infosys","download_url":"https://codeload.github.com/Infosys/openfga-plugin-backstage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230146123,"owners_count":18180461,"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":[],"created_at":"2024-12-17T16:28:51.092Z","updated_at":"2025-10-10T13:37:52.391Z","avatar_url":"https://github.com/Infosys.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to the OPENFGA Plugins Repository for Backstage!\n\nThis repository contains a collection of plugins for [Backstage](https://backstage.io) that integrate with [OPENFGA](https://openfga.dev/docs/fga).\n\n- Instead of using TypeScript to code policies into your Backstage instance, use OPENFGA to create, update, and manage your policies!\n\n- To manage your policies in a more flexible manner, use OPENFGA [MODEL](https://openfga.dev/docs/modeling/getting-started).\n\n- To create your model, use the OPENGA [PLAYGROUND] (https://play.fga.dev/sandbox/?store=github).\n\n- No need to relaunch your Backstage instance to update policies , simply update your OPENFGA plugin policies from the UI and you're ready to go!\n\n- Allow teams to set their own policies without having to know TypeScript or the Backstage codebase!\n\n## Pre-requisites\n\n- Make sure you have forked this repo and your backstage instance running.\n- You have deployed OPENFGA, kindly see how to do that [here](https://github.com/openfga/openfga).\n- This plugin also requires and assumes that you have at least setup the permission framework (without any policies) as outlined here [Backstage Permissions Docs](https://backstage.io/docs/permissions/overview) as it of course relies on the permissions framework to be there and set up.\n\n## How It Works\n\nThis plugin wraps around the Backstage Permission Framework and uses the OPENFGA client to evaluate policies. It will send a request to OPENFGA with the permission and identity information, OPENFGA will then evaluate the policy and return a decision, which is then passed back to the Permission Framework.\n\n- Permissions are created in the plugin in which they need to be enforced.\n- The plugin will send a request to the Permission Framework backend with the permission and identity information.\n- The Permission Framework backend will then forward the request to OPENFGA with the permission and identity information.\n- OPENFGA will evaluate the the information against the policy and return a decision.\n\nFOR MORE INFORMATION AND SETUP PLEASE VISIT PLUGIN DOCS [OPENFGA PLUGIN] (https://github.com/Infosys/openfga-plugin-backstage/blob/master/plugins/openfga/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfosys%2Fopenfga-plugin-backstage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfosys%2Fopenfga-plugin-backstage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfosys%2Fopenfga-plugin-backstage/lists"}