core.security.permissions
OneGov uses a very simple permissions model by default. There are no read/write permissions, just intents. That means a permission shows the intended audience.
This is the default however, any application building on top of onegov.core may of course introduce its own byzantine permission system.
Classes
Base class of all intents. Should never be used directly. |
|
The general public is allowed to do this. |
|
Trusted people are allowed to do this. |
|
Registered members are allowed to do this. |
|
Only Demi-Gods are allowed to do this. |
Module Contents
- class core.security.permissions.Intent[source]
Base class of all intents. Should never be used directly. This is only used for type checking.
- class core.security.permissions.Public[source]
Bases:
Intent
The general public is allowed to do this.
- class core.security.permissions.Private[source]
Bases:
Intent
Trusted people are allowed to do this.