Added manager permission query