mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
* Modify global configuration in the actions map * Implement getter/setter for global and action configuration * Implement quickly authenticators classes and add a todo LDAP authenticator * Implement an actions map signals system and add some signals * Add a Moulinette Interface for the cli and make it support signals * Add a test namespace which implements configuration and authentication
12 lines
223 B
Python
12 lines
223 B
Python
|
|
def test_non_auth():
|
|
print('non-auth')
|
|
|
|
def test_auth(auth):
|
|
print('[default] / all / auth: %r' % auth)
|
|
|
|
def test_auth_cli():
|
|
print('[default] / cli')
|
|
|
|
def test_anonymous():
|
|
print('[ldap-anonymous] / all')
|