config webui global
    option locale 'auto'
    option theme 'dark'
    option autologin_username 'operator'

config no-auth
    option module 'ui'
    list func 'get_locale'
    list func 'get_theme'
    list func 'get_autologin_username'
    list func 'can_autologin'

# config no-auth
#     option module 'rpc'
#     list func 'call'

config no-auth
    option module 'ac'
    list func 'platform_info'

# Legacy CNC clients do not implement the WebUI cookie session. The platform
# adapter independently restricts these calls to loopback and the LAN network.
config no-auth
    option module 'platform'
    list func 'info'
    list func 'arm_get_props'
    list func 'mach3_get_props'
    list func 'cnc_get_props'
    list func 'arm_set_props'
    list func 'mach3_set_props'
    list func 'cnc_set_props'
    list func 'cnc_get_config'
    list func 'cnc_cp_set'
    list func 'mach3_cj_start'
    list func 'cnc_cj_start'
    list func 'mach3_cj_stop'
    list func 'cnc_cj_stop'

config user
    option username 'admin'
    # echo -n admin:<admin pass> | md5sum
    option password 'b7fe3ca5fcd3e234cf88ad659b73df57'
    option acl admin

config user
    option username 'master'
    option password 'c610661f3098d724b9f9116c9a799272'
    option acl admin

config user
    option username 'rpc'
    option password '54887217b55c46e5f28cf80cbde94a75'
    option acl rpc
