Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributor forms should use configured submit buttons #1041

Open
gabestein opened this issue Mar 6, 2025 · 0 comments
Open

Contributor forms should use configured submit buttons #1041

gabestein opened this issue Mar 6, 2025 · 0 comments

Comments

@gabestein
Copy link
Member

Motivation

So admins/editors can give contributors the ability to implicitly move pubs/actions, while still restricting their field access

e.g. A legal review contributor can be given access to all pubs on a stage, but only to see the contents, and then, via one of the form buttons, decide whether to "approve" or "send back with feedback" a pub, thus moving the pub to a new stage and triggering an action.

Requirements

  • When a contributor user updates a pub via the update page, it should render both a save button AND the submission buttons configured by the form via which they are accessing the page
  • The save button continues to update the pub in place, as it works today
  • When a contributor updates the pub via one of the configured submit buttons, it runs the post-submit action specified by the form and displays the post-submission message

Acceptance Criteria

Extra work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants