Skip to content

This is a prototype to show how you can use JSON policies to grant or deny authorizations on any kind of object that can be written in JSON.

License

Notifications You must be signed in to change notification settings

gaborschulz/authorization-prototype

Repository files navigation

authorization-prototype

python: 3.11 license: MIT security: bandit mypy: checked linting: pylint Tests

What it does

This is a prototype to show how you can use JSON policies to grant or deny authorizations on any kind of object that can be written in JSON.

Installation

  1. Clone the project
  2. Enter the directory where you've placed your code
  3. Create a new virtual environment with pipenv
    pipenv install
  4. Run the authorization.py script
    pipenv run python authorization.py

How does it work

To find our more about how this prototype works, feel free to check out my related blog post: blog.gaborschulz.com/advanced-authorization

Copyright

Copyright Gabor Schulz, 2022

About

This is a prototype to show how you can use JSON policies to grant or deny authorizations on any kind of object that can be written in JSON.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages