how to lock down a record?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • rabii
    replied
    Originally posted by jamie
    I need to prevent editing on a record after a condition is met, say status -> closed

    i got recommended this, however, if the function exists i can't find any documentation on it, and it doesn't work

    ifThen( entity\attribute('status') == 'Closed', entity\setReadOnly(true) )

    thanks,
    you can use Dynamic Handler - it is easy to implement and would allow you to set fields as read only

    Leave a comment:


  • yuri
    replied
    The record locking is going to be implemented in future.

    Leave a comment:


  • Noah Kal
    replied
    HI jamie



    This addition might be useful for your request.



    It allows locking a record using an existing Boolean field.


    Make EspoCRM records read-only when a chosen Boolean field is enabled, with role-based override access for authorized users and administrators. Professional

    Leave a comment:


  • jamie
    started a topic how to lock down a record?

    how to lock down a record?

    I need to prevent editing on a record after a condition is met, say status -> closed

    i got recommended this, however, if the function exists i can't find any documentation on it, and it doesn't work

    ifThen( entity\attribute('status') == 'Closed', entity\setReadOnly(true) )

    thanks,
Working...