field-engineer icon indicating copy to clipboard operation
field-engineer copied to clipboard

Readonly support?

Open jenstornell opened this issue 7 years ago • 1 comments

Do we want to have a readonly blueprint option? In that case, if readonly is set on the parent, every child of that parent also needs to be readonly.

jenstornell avatar Jun 29 '17 14:06 jenstornell

Yes, we would need this! In fact it would be crucial for our workflow to have this option for the engineer field.

I would also need to be able to add some advanced logic to determine the readonly value. So I should either be able to extend the field, something like that:

class MyEngineerField extends EngineerField {

  public function readonly() {
    // some logic here
    return true; 
  }

}

Or to handle this with a role permission, like engineer.readonly would also be an option.

What do you think?

Also, the purchase button for the plugin ist missing.

Kind regards, Georg

georgobermayr avatar Mar 13 '18 09:03 georgobermayr