feat(portal): add logical group admin page
This commit is contained in:
@@ -325,6 +325,12 @@ write_body() {
|
||||
}
|
||||
|
||||
case "$url" in
|
||||
*/api/admin/session/login)
|
||||
write_body '{"authenticated":true,"username":"portal-admin"}'
|
||||
;;
|
||||
*/api/admin/session)
|
||||
write_body '{"authenticated":true,"login_enabled":true,"username":"portal-admin"}'
|
||||
;;
|
||||
*/api/hosts)
|
||||
write_body '{"host_id":"remote43-current-host"}'
|
||||
;;
|
||||
@@ -490,6 +496,8 @@ EOF
|
||||
KEY="/does/not/matter" \
|
||||
REMOTE="fake@host" \
|
||||
CRM_BASE="http://127.0.0.1:18088" \
|
||||
CRM_ADMIN_USERNAME="portal-admin" \
|
||||
CRM_ADMIN_PASSWORD="portal-pass" \
|
||||
HOST_BASE="http://127.0.0.1:18087" \
|
||||
CRM_HOST_BASE="http://127.0.0.1:18093" \
|
||||
REMOTE_HOST_BASE="http://127.0.0.1:18093" \
|
||||
|
||||
Reference in New Issue
Block a user