Go to file
JasonFraser 1fc08dd9ec Add Stock Viewer role: read-only access including cost/value figures
For stakeholders who need visibility (a board member, an investor) but
should never be able to alter stock records -- confirmed the hard way
this was a real gap when reviewing Technician's default Stock User
access: nothing in that role actually prevented self-issuing stock,
which led to dropping Technician system accounts entirely in favor of
phone-based reporting through the Dispatcher instead.

Grants read/report/export/print (never create/write/submit/cancel/
delete/amend) on Stock Entry, Material Request, Serial No, Item,
Warehouse, and Stock Ledger Entry, plus adds the role to both the
Damage & Cost Report and Serial No Ledger report's own role lists --
cost/value figures included, not redacted, per explicit request.

Verified idempotent (two full provisioning runs against local dev) and
confirmed the exact permission flags directly against the live Custom
DocPerm records, not just the script's own print statements.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-03 22:55:19 -04:00
.agents/skills Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
backend Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
backup Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
erpnext-image Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
frappe_docker@380b9d069a Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
playbook Document two Stage 6 CSV import gotchas, confirmed live on the sample site 2026-10-03 22:17:03 -04:00
provisioning Add Stock Viewer role: read-only access including cost/value figures 2026-10-03 22:55:19 -04:00
scripts Document exact step-by-step execution order in dev.sh/prod.sh headers 2026-10-03 14:14:31 -04:00
.env.example Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
.gitignore Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
.gitmodules Repoint frappe_docker submodule to a self-hosted mirror 2026-10-01 20:23:16 -04:00
API_INTEGRATION.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
CLAUDE.md Add Stage 6 CSV templates for Frappe's native Data Import tool 2026-10-03 22:00:28 -04:00
UI_DESIGN_THEME.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
bettersightbox-index.html Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.data-dir.yml Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.dokploy.yml Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
docker-compose.yml Make tenants.json durable: move its bind-mount source into SIGHTBOX_DATA_DIR 2026-10-03 20:51:29 -04:00
generate-dokploy-compose.sh Drop depends_on's required: sub-key for Dokploy too 2026-10-02 05:24:26 -04:00
inventory-implementation-training-guide.docx Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00