How to write a script for employee can't edit the past attendance record

I want the to employee create today’s attendance only and He can’t edit or create the past date attendance record. But the Admin or Manager can edit the Attendance record.

How can do that?

Thanks.

@Eranna why don’t you just remove the write permission for employees ?

1 Like