lingfromSh / sanic-abac

Attribute based access control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sanic ABAC

An attribute based access control server built with sanic.

Sample

Just one simple sample for testing whether models are valid.

Rules for samples

Only <user: 1> can download <media: 2>

Snapshots of results

Correct input

<user:1> wants to download <media:2>

Correct Input

Incorrect input

<user:1> wants to download <media:123>

Incorrect Input

Deploy

Usage

Roadmap

  • More protocols support
  • APIs for CRUD
  • Unit test
  • Dynamic code loading using Pycode_Object
  • More flexible structure of rules.

About

Attribute based access control


Languages

Language:Python 99.4%Language:Shell 0.6%