adhocracy_core.resources.root module

Root type to create initial object hierarchy and set global Permissions.

interface IRootPool[source]

Extends: adhocracy_core.resources.organisation.IOrganisation, substanced.interfaces.IRoot

The application root object.

create_initial_content_for_app_root(context: <InterfaceClass adhocracy_core.interfaces.IPool>, registry: pyramid.registry.Registry, options: dict)[source]

Add the Catalog, principals services to the context.

add_example_process(context: <InterfaceClass adhocracy_core.interfaces.IPool>, registry: pyramid.registry.Registry, options: dict)[source]

Add example organisation and process.

includeme(config)[source]

Add resource types to registry.