18 lines
340 B
Python
18 lines
340 B
Python
from ... import acl
|
|
from halfapi.logging import logger
|
|
|
|
ACLS = {
|
|
'GET' : [
|
|
{'acl':acl.public},
|
|
{'acl':acl.random},
|
|
]
|
|
}
|
|
|
|
def get(halfapi):
|
|
"""
|
|
description:
|
|
returns the configuration of the domain
|
|
"""
|
|
logger.error('%s', halfapi)
|
|
return halfapi['config']['domain']['dummy_domain']['config']
|