Fixed a faulty permission check on prop setting