mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 10:12:41 +01:00
Improve help for "bin/policy unlock" to make it explicit that you can name objects with a PHID
Summary: See <https://discourse.phabricator-community.org/t/how-to-unlock-a-portal-to-view-edit-it-as-an-admin-similar-to-tasks/4547/>. Test Plan: Ran `bin/policy help unlock`, saw explicit "you can use a PHID" documentation. Differential Revision: https://secure.phabricator.com/D21530
This commit is contained in:
parent
9cbbbe2a87
commit
6d5920fa2d
1 changed files with 10 additions and 3 deletions
|
@ -8,9 +8,16 @@ final class PhabricatorPolicyManagementUnlockWorkflow
|
||||||
->setName('unlock')
|
->setName('unlock')
|
||||||
->setSynopsis(
|
->setSynopsis(
|
||||||
pht(
|
pht(
|
||||||
'Unlock an object which has policies that prevent it from being '.
|
'Unlock one or more objects by changing their view policies, edit '.
|
||||||
'viewed or edited.'))
|
'policies, or owners.'))
|
||||||
->setExamples('**unlock** --view __user__ __object__')
|
->setHelp(
|
||||||
|
pht(
|
||||||
|
'Identify each __object__ by passing an object name '.
|
||||||
|
'(like "T123") or a PHID (like "PHID-ABCD-1234...").'.
|
||||||
|
"\n\n".
|
||||||
|
'Not every type of object has an editable view policy, edit '.
|
||||||
|
'policy, or owner, so not all modes will work with all objects. '))
|
||||||
|
->setExamples('**unlock** --view __user__ __object__ ...')
|
||||||
->setArguments(
|
->setArguments(
|
||||||
array(
|
array(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in a new issue