set user priority: $canEdit was not defined