Permission error in custom Employee details


this code is working fine but when we open this with employee account it is asking for write permission i dont want to give write permission as user can change everything

you could try using ignore permission, but I am not sure whether that solves it