The horae.auth package provides a pluggable users and groups architecture for the Horae resource planning system and includes the following functionality:
Both plugins are defined in horae.auth.auth and setup by the horae.auth.auth.setup_authentication function. To use the plugins they have to be registered with the grok application which the following example illustrates:
import grok from zope.app.authentication.authentication import ( PluggableAuthentication) from zope.app.security.interfaces import IAuthentication from horae.auth import auth class SampleApplication(grok.Application): grok.local_utility(PluggableAuthentication, provides=IAuthentication, setup=auth.setup_authentication)
The following default permissions are defined by horae.auth:
Based on those permissions the following roles are defined:
The main interfaces defined by horae.auth are:
horae.auth does not provide any implementation of those interfaces which is done by packages like horae.usersandgroups. This architecture makes it possible to quite easily plug in new user and group sources such as LDAP .
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.