Source code for cobbler.modules.authorization.allowall

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


[docs]def register(): """ The mandatory cobbler module registration hook. """ return "authz"
[docs]def authorize(api_handle, user, resource, arg1=None, arg2=None): """ Validate a user against a resource. NOTE: acls are not enforced as there is no group support in this module """ return True