fix(erpsetup): let the registry's API user append usage records #36
@@ -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},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user