Correcting roles in security