partial fix #7689: error on setting survey permissions