Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15423488
D21530.id51249.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21530.id51249.diff
View Options
diff --git a/src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php b/src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php
--- a/src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php
+++ b/src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php
@@ -8,9 +8,16 @@
->setName('unlock')
->setSynopsis(
pht(
- 'Unlock an object which has policies that prevent it from being '.
- 'viewed or edited.'))
- ->setExamples('**unlock** --view __user__ __object__')
+ 'Unlock one or more objects by changing their view policies, edit '.
+ 'policies, or owners.'))
+ ->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(
array(
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 3:40 PM (4 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224456
Default Alt Text
D21530.id51249.diff (1 KB)
Attached To
Mode
D21530: Improve help for "bin/policy unlock" to make it explicit that you can name objects with a PHID
Attached
Detach File
Event Timeline
Log In to Comment