jstanden / cerb

Cerb is a fully customizable, web-based platform for enterprise communication and process automation. Create high volume shared inboxes. Integrate with any API-based service and automate nearly any repetitive digital workflow using the specialized KATA language and browser-based coding tools. Production: https://github.com/cerb/cerb-release/
https://cerb.ai/
Other
80 stars 38 forks source link

Record update validation #1733

Open Hildy opened 1 year ago

Hildy commented 1 year ago

Primary use case is to control what workers are allowed to do to tickets in a more logic-based way than roles.

One customer requests the ability to keep workers from "closing" tickets that they are not the owner of.

Another is interested in similar, but more expanded, features like this.

Implementation of this feature request will require standardization / uniform mapping of record editor field names to the DB first.

jstanden commented 8 months ago

Another request here is being able to default record field changes (e.g. editing a draft before opening the editor). This could also expand the comment editor with an optional default comment.

At some point it's cleaner to implement a worker interaction in place of the editor.

wowfingers commented 8 months ago

Thanks Jeff! Agreed that it's cleaner, however, we have loads of legacy behaviors that are triggered by updates to the OG fields on the editor side which I reckon is why we would be very happy to have the ability to add validation (and, as you say, pre-edit/draft the editor based on similar logic that @Hildy has mentioned.