fix(erpsetup): let the registry's API user append usage records (#36)
ci / shared (push) Successful in 14s
ci / test (push) Successful in 23m25s
ci / image (push) Successful in 35s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit was merged in pull request #36.
This commit is contained in:
sharangandClaude Opus 5.5 committed 2026-09-23 21:36:36 +00:00
1 parent e0bff8c793
commit 25419c48b3
1 file changed
+3
+3
View File
@@ -60,6 +60,9 @@ func usageRecordDoctype() map[string]any {
{"role": "System Manager", "read": 1, "write": 1, "create": 1, "delete": 1, "report": 1, "export": 1},
{"role": "Accounts Manager", "read": 1, "report": 1, "export": 1},
{"role": "Sales Manager", "read": 1, "report": 1, "export": 1},
// The registry's API user (platform-registry) holds Sales User and
// Accounts User, not System Manager: it only appends usage.
{"role": "Sales User", "read": 1, "create": 1},
},
}
}