Skip to content

Fix process steward bug in Process Builder#715

Open
nourmalaeb wants to merge 5 commits intodevfrom
process-steward-not-required
Open

Fix process steward bug in Process Builder#715
nourmalaeb wants to merge 5 commits intodevfrom
process-steward-not-required

Conversation

@nourmalaeb
Copy link
Collaborator

@nourmalaeb nourmalaeb commented Mar 5, 2026

  • Changes process builder validation so that the steward is not required.
  • Sets default steward value when the process is created (save value as process owner)
  • Loads steward value when loading a process instance
Screenshot shows disabled field with text in the description explaining that only process owners can set the process steward

@nourmalaeb nourmalaeb force-pushed the process-steward-not-required branch from b61ce61 to 2b17980 Compare March 5, 2026 14:23
@vercel
Copy link
Contributor

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview Mar 5, 2026 4:34pm

Request Review

description={
t(
'The organization, coalition, committee or individual responsible for running this process.',
) +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Usually good to just a use a string template here

}

// Only the process owner can change the steward
const isProcessOwner = userProfiles?.some((p) => p.id === instance.owner?.id);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we also enforcing this in the backend on update?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually no. Can add it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants