feat(19.7-01): account contributions, prompted record actions and backend subject events
- pact.HasAccountContributions compiled at Activate; GET /account/contributions
and POST /account/contributions/{name}/actions/{action} behind interactiveOnly
(AccountContributionView, AccountContributionActionView, AccountActionResultView)
- RecordAction.prompt (RecordActionPrompt) for a pact.AdminRecordAction with a
Prompt; the record action route accepts payload only for such an action
(trimmed JSON string, non-empty, capped at max_length) and hands it to Run as
Value through CRUDService.RecordActionWithValue; a prompt without a label
fails boot
- fireSubjectChanged: pact.MCPSubjectChanged for revoked tokens, Administrators
saves that changed role, permissions or superuser, Roles saves that changed
grants, deactivation and deletion
- phrases backend::lang.form.action_prompt_required/_too_long (en, pl)
- smoke tests TestAccountContributionsSmoke and TestRecordActionPromptSmoke;
TestRecordActionPromptRun on Postgres; route inventories, CSRF walk and
OpenAPI conformance cases extended for the two routes
- regenerated admin/openapi/admin.json and admin/src/api/schema.d.ts; cabana
README, docs/backend/{admin-controllers,users-and-permissions}.md
This commit is contained in:
@@ -106,6 +106,8 @@ form:
|
||||
action_confirm: "Run “:action” on this record?"
|
||||
action_done: Action completed.
|
||||
action_stale: This action no longer applies to this record. The page has been refreshed.
|
||||
action_prompt_required: Enter a value to run this action.
|
||||
action_prompt_too_long: "The value may not be longer than :max characters."
|
||||
forbidden: You do not have permission to make this change. Nothing was saved.
|
||||
dependent_invalid: Choose one of the listed options.
|
||||
trigger_disabled_on: "Not editable while “:field” is on."
|
||||
|
||||
@@ -116,6 +116,8 @@ form:
|
||||
action_confirm: "Wykonać „:action” na tym rekordzie?"
|
||||
action_done: Akcja została wykonana.
|
||||
action_stale: Ta akcja nie dotyczy już tego rekordu. Strona została odświeżona.
|
||||
action_prompt_required: Wpisz wartość, aby uruchomić tę akcję.
|
||||
action_prompt_too_long: "Wartość nie może być dłuższa niż :max znaków."
|
||||
forbidden: Nie masz uprawnień do wprowadzenia tej zmiany. Nic nie zostało zapisane.
|
||||
dependent_invalid: Wybierz jedną z dostępnych opcji.
|
||||
trigger_disabled_on: "Nie można edytować, gdy „:field” jest włączone."
|
||||
|
||||
Reference in New Issue
Block a user