Worked on the permissions engine