pypicloud.access.config module

Backend that reads access control rules from config file

class pypicloud.access.config.ConfigAccessBackend(request=None, data=None, **kwargs)[source]

Bases: IJsonAccessBackend

Access Backend that uses values set in the config file

classmethod configure(settings)[source]

Configure the access backend with app settings


Idempotently load universal access control data.

By default, this does nothing on immutable backends. Backends may override this method to provide an implementation.

This method works by default on mutable backends with no override necessary.