Original context
https://we.phorge.it/w/planning_meetings/2022-07-12/#action-items
@dtf look for ways to lock some maniphest fields to specific users.
Issue
At present, users can create Maniphest tasks and do not have visibility to change priority at time of creation. Once the new task has been created, the user can adjust the Priority field to their heart's desire, which is not necessarily the same desire as that of the Phorge team (new tasks generally start in a Needs Triage priority until triage has been completed by a member of the team).
Desired result
Users should be able to create new tasks without the option of changing the Priority field of the Maniphest task. The ability to adjust priority should be restricted to members that have been granted access (perhaps Trusted Contributors?).
Notes from testing restricted forms so far:
E12#264
- https://secure.phabricator.com/book/phabricator/article/forms/#use-case-security-issues
- Useful info on different types of use cases for forms
Tested out on my own instance:
- Pretend to create a new task
- Configure form > Edit form configuration
- Lock / Hide Fields
- This will open a new menu where you can select Visible, Locked, or Hidden
However, this causes the field to be locked even while signed in as an Admin. Need to test as a user with lower permissions as the task creator.