feat(debyltech-cloud): limit customers to Files, Activity and signing
Nothing was group-restricted, so customers saw Dashboard, Photos, Office and the rest, plus Nextcloud's first-run and promo apps. - Disable for everyone: firstrunwizard, recommendations, related_resources, weather_status, survey_client, support, app_api, contactsinteraction, photos. A refused disable now fails the play (occ exits 0 on "can't be disabled"). - Restrict dashboard and office to staff. defaultapp=dashboard,files so staff land on the dashboard and customers fall through to Files. - libresign groups_request_sign pinned to staff and asserted in verify. LibreSign itself is deliberately NOT group-restricted: that also blocks anonymous requests and would break public signing links. - profile.enabled=false; lookup_server="" (lookup_server_connector can't be disabled). - README: what customers can open. Checked as a probe customer: apps=files,activity,libresign,text,viewer, lands in Files, can't request signatures; staff land on Dashboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c4fe506860
commit
0cc4c1460e
@@ -85,6 +85,15 @@ for u in {{ podman_prune_ci_users | join(' ') }}; do
|
||||
# are rebuilt or re-pulled from the registry only when missing, so pruning
|
||||
# them just forces a multi-GB re-download on the next job.
|
||||
prune_user "$u" "{{ podman_prune_ci_until }}" yes --filter "label!={{ podman_prune_ci_keep_label }}"
|
||||
|
||||
# ...but the label is inherited by every build of those images, including the
|
||||
# one a rebuild supersedes. That copy loses its tag and becomes dangling, and
|
||||
# the label filter above would keep it forever -- a multi-GB leak per weekly
|
||||
# rebuild, ESP-IDF alone being several GB. Without -a, `image prune` removes
|
||||
# only dangling images, so it can ignore the label without touching the live
|
||||
# tagged ones.
|
||||
dangling=$(run "$u" image prune -f --filter "until={{ podman_prune_ci_until }}" 2>&1 | tail -1)
|
||||
log "user=$u dangling_prune=${dangling:-none}"
|
||||
done
|
||||
|
||||
log "status=ok"
|
||||
|
||||
Reference in New Issue
Block a user