Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
74 lines
2.0 KiB
YAML
74 lines
2.0 KiB
YAML
# List of loggable service actions
|
|
|
|
resource: system:resource-translation
|
|
service: resourceTranslation
|
|
|
|
# Default sensitivity for actions
|
|
defaultActionSeverity: notice
|
|
|
|
# default severity for errors
|
|
defaultErrorSeverity: error
|
|
|
|
import:
|
|
- github.com/cortezaproject/corteza/server/system/types
|
|
|
|
props:
|
|
- name: resourceTranslation
|
|
type: "*types.ResourceTranslation"
|
|
fields: [ lang, resource, K, ID ]
|
|
- name: new
|
|
type: "*types.ResourceTranslation"
|
|
fields: [ lang, resource, K, ID ]
|
|
- name: update
|
|
type: "*types.ResourceTranslation"
|
|
fields: [ lang, resource, K, ID ]
|
|
- name: filter
|
|
type: "*types.ResourceTranslationFilter"
|
|
fields: [ translationID, lang, resource, resourceType, ownerID, deleted, sort ]
|
|
|
|
actions:
|
|
- action: search
|
|
log: "searched for resourceTranslations"
|
|
severity: info
|
|
|
|
- action: lookup
|
|
log: "looked-up for a {{resourceTranslation}}"
|
|
severity: info
|
|
|
|
- action: create
|
|
log: "created {{resourceTranslation}}"
|
|
|
|
- action: update
|
|
log: "updated {{resourceTranslation}}"
|
|
|
|
- action: delete
|
|
log: "deleted {{resourceTranslation}}"
|
|
|
|
- action: undelete
|
|
log: "undeleted {{resourceTranslation}}"
|
|
|
|
errors:
|
|
- error: notFound
|
|
message: "resource translation not found"
|
|
severity: warning
|
|
|
|
- error: invalidID
|
|
message: "invalid ID"
|
|
severity: warning
|
|
|
|
- error: staleData
|
|
message: "resource translation was modified by someone else or by a workflow after you've opened it. Please refresh to see the latest updated version"
|
|
severity: warning
|
|
|
|
- error: notAllowedToRead
|
|
message: "not allowed to read this resource translation"
|
|
log: "failed to read {{resourceTranslation}}; insufficient permissions"
|
|
|
|
- error: notAllowedToSearch
|
|
message: "not allowed to search or list resource translations"
|
|
log: "failed to search or list resource translations; insufficient permissions"
|
|
|
|
- error: notAllowedToManage
|
|
message: "not allowed to manage resource translations"
|
|
log: "failed to manage resource translation; insufficient permissions"
|