Prevent non managers from editing records
Prevent non managers from editing records. Fixed auto-assign manageer bug