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.

Module Contents

Classes

Intent

Base class of all intents. Should never be used directly.

Public

The general public is allowed to do this.

Private

Trusted people are allowed to do this.

Personal

Registered members are allowed to do this.

Secret

Only Demi-Gods are allowed to do this.

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.

class core.security.permissions.Personal[source]

Bases: Intent

Registered members are allowed to do this.

class core.security.permissions.Secret[source]

Bases: Intent

Only Demi-Gods are allowed to do this.