Fixed permission setting ordering