Skip to content

misoomang/pauli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pauli -- Permission, Auth, User Library and Interface

A library for managing permission, authentication and users, can be used as a plugin(via blueprint) into flask projects.

Permission description

A permission description is list of permission objects. A permission object is like

{
    "action": "gesafe:article:*",
    "effect": "allow",
    "resource": ["*"] 
}

Where

  • action: the action of the permission, like editing article, delete products.
  • effect: optional, default "allow", can be either "allow" or "deny".
  • resource: optional, default "*", the target where action take upon.
    • "*": everything
    • "+": everything adapt the user's organization.
    • "-": restricted to the content created by the user.
    • "::": specified resources.

About

Permission, authentication and user library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • HTML 2.9%