Before this commit, the `priority` field in task was in readonly in project sharing feature. This commit allows the `priority` field in task be edited by a portal user in project sharing. task-2633229 closes #77156 X-original-commit: 62572e17d6cd62f16287d530c247dbe9b8501e0c