https://github.com/permitio/optoggles
Easily sync open-policy rules to your feature toggles
https://github.com/permitio/optoggles
authorization example featureflags featuretoggles launchdarkly opal openpolicyagent
Last synced: 5 months ago
JSON representation
Easily sync open-policy rules to your feature toggles
- Host: GitHub
- URL: https://github.com/permitio/optoggles
- Owner: permitio
- License: apache-2.0
- Created: 2021-08-24T09:37:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T04:12:18.000Z (over 1 year ago)
- Last Synced: 2025-07-30T01:06:25.457Z (6 months ago)
- Topics: authorization, example, featureflags, featuretoggles, launchdarkly, opal, openpolicyagent
- Language: Go
- Homepage:
- Size: 5.23 MB
- Stars: 135
- Watchers: 10
- Forks: 5
- Open Issues: 41
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
🎚️ OPToggles 🎚️
Open policy based feature toggling
[](https://app.netlify.com/sites/optoggles/deploys)
# What is OPToggles?
We often want our frontend to reflect the permissions enforced by the backend. E.g. if a user is not allowed to click run the action behind a button - don't show them that button.
`OPToggles` brings the power of `OPA` + `OPAL` into your existing feature toggling solutions.
It enables you to create user targeted feature flags/toggles based on Open Policy managed authorization rules, and keep them
synced thanks to `OPAL`'s realtime policy and policy-data change detection.
With OPToggles frontend devs can continue to enjoy working with the feature flags they are familar with, and backend-devs easily harness the power of open-policy.

# Documentation
- Read the full docs at [OPToggles.opal.ac](https://optoggles.opal.ac)
- ⚡️ [Quick Start Guide](https://optoggles.opal.ac/tutorials/quickstart/)
- 🤿 [How Does It Work](https://optoggles.opal.ac/tutorials/how_does_it_work/)
- 🦮 [OPToggles Demo](https://optoggles.opal.ac/tutorials/demo/)
- 📓 [Configuration File](https://optoggles.opal.ac/tutorials/configuration/)
- 🩺 [Health Checks](https://optoggles.opal.ac/tutorials/healthchecks/)
- 📖 [For further reading check out our Blog](https://bit.ly/permitioblog)
**Come talk to us about OPToggles, or authorization in general - we would love to hear from you ❤️**
You can raise questions and ask for features to be added to the road-map in our [**Github discussions**](https://github.com/permitio/OPToggles/discussions), report issues in [**Github issues**](https://github.com/permitio/OPToggles/issues), follow us on Twitter to get the latest OPToggles updates, and join our Slack community to chat about authorization, open-source, realtime communication, tech any anything else!
If you are using our project, please consider giving us a ⭐️
[![Button][join-slack-link]][badge-slack-link] [![Button][follow-twitter-link]][badge-twitter-link]
## Contributing to OPToggles
- Pull requests are welcome! (please make sure to include _passing_ tests and docs)
- Prior to submitting a PR - open an issue on GitHub, or make sure your PR addresses an existing issue well.
[join-slack-link]: https://i.ibb.co/wzrGHQL/Group-749.png
[badge-slack-link]: https://bit.ly/permitioslack
[follow-twitter-link]: https://i.ibb.co/YZwWJm7/Group-751.png
[badge-twitter-link]: https://twitter.com/opal_ac