how to lock down a record?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 215

    #1

    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,
  • Noah Kal
    Junior Member
    • Jan 2026
    • 2

    #2
    HI jamie



    This addition might be useful for your request.



    It allows locking a record using an existing Boolean field.


    Secure your records with Ebla Lock. Lock editing via any boolean field and control access through specific role-based permissions.

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9592

      #3
      The record locking is going to be implemented in future.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...