cobbler.modules.authorization package

Submodules

cobbler.modules.authorization.allowall module

Authorization module that allows everything, which is the default for new cobbler installs.

cobbler.modules.authorization.allowall.authorize(api_handle, user, resource, arg1=None, arg2=None)[source]

Validate a user against a resource. NOTE: acls are not enforced as there is no group support in this module

cobbler.modules.authorization.allowall.register()[source]

The mandatory cobbler module registration hook.

cobbler.modules.authorization.configfile module

Authorization module that allow users listed in /etc/cobbler/users.conf to be permitted to access resources. For instance, when using authz_ldap, you want to use authn_configfile, not authz_allowall, which will most likely NOT do what you want.

cobbler.modules.authorization.configfile.authorize(api_handle, user, resource, arg1=None, arg2=None)[source]

Validate a user against a resource. All users in the file are permitted by this module.

cobbler.modules.authorization.configfile.register()[source]

The mandatory cobbler module registration hook.

cobbler.modules.authorization.ownership module

Authorization module that allow users listed in /etc/cobbler/users.conf to be permitted to access resources, with the further restriction that cobbler objects can be edited to only allow certain users/groups to access those specific objects.

cobbler.modules.authorization.ownership.authorize(api_handle, user, resource, arg1=None, arg2=None)[source]

Validate a user against a resource. All users in the file are permitted by this module.

cobbler.modules.authorization.ownership.register()[source]

The mandatory cobbler module registration hook.

Module contents