verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
96 stars 73 forks source link

Locking editing of a specific form #2149

Open svondervoort opened 2 hours ago

svondervoort commented 2 hours ago

Question

Is there any other way to lock a form from being edited by a specific user or user-group?

I know it is possible by setting permissions per form but that way when a new form gets created only the user that created the form can access and edit the form.

The reason we would like this is because we have project that have forms that are mapped to an external system using Events. But when the client changes/removes a field they don't match anymore. These type of forms we would like to lock.

Additional context

No response

engram-design commented 2 hours ago

That's not possible at the moment, but if you have some PHP and module knowledge, that logic is certainly something you could bundle into a module.

svondervoort commented 2 hours ago

Hey thanks for the tip. I'm not that experienced with PHP and modules but my colleagues are. Could you push me in the right direction by giving a small run-down how to approach this so I can suggest it to my team?