1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Remove UI warnings about policies being a janky mess

Summary: Ref T603. While policies aren't completely perfect, they are substantially functional to the best of my knowledge -- definitely in good enough shape that we want to hear about issues with them, now.

Test Plan: Edited a task, repository, and project.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7343
This commit is contained in:
epriestley 2013-10-17 12:59:40 -07:00
parent 5171e3684c
commit 0b22777f68
3 changed files with 0 additions and 15 deletions

View file

@ -71,11 +71,6 @@ final class DiffusionRepositoryEditPolicyController
$form = id(new AphrontFormView()) $form = id(new AphrontFormView())
->setUser($viewer) ->setUser($viewer)
->appendRemarkupInstructions(
pht(
'NOTE: The "Visible To" control is not yet fully functional. It '.
'applies to some interfaces, but some interfaces will bypass this '.
'setting and act as though it were set to "all users" for now.'))
->appendChild( ->appendChild(
id(new AphrontFormPolicyControl()) id(new AphrontFormPolicyControl())
->setUser($viewer) ->setUser($viewer)

View file

@ -471,10 +471,6 @@ final class ManiphestTaskEditController extends ManiphestController {
->setCapability(PhabricatorPolicyCapability::CAN_EDIT) ->setCapability(PhabricatorPolicyCapability::CAN_EDIT)
->setPolicyObject($task) ->setPolicyObject($task)
->setPolicies($policies) ->setPolicies($policies)
->setCaption(
pht(
'NOTE: These policy controls still have some rough edges and '.
'are not yet fully functional.'))
->setName('editPolicy')) ->setName('editPolicy'))
->appendChild( ->appendChild(
id(new AphrontFormTokenizerControl()) id(new AphrontFormTokenizerControl())

View file

@ -131,12 +131,6 @@ final class PhabricatorProjectProfileEditController
->setLabel(pht('Blurb')) ->setLabel(pht('Blurb'))
->setName('blurb') ->setName('blurb')
->setValue($profile->getBlurb())) ->setValue($profile->getBlurb()))
->appendChild(hsprintf(
'<p class="aphront-form-instructions">%s</p>',
pht(
'NOTE: Policy settings are not yet fully implemented. '.
'Some interfaces still ignore these settings, '.
'particularly "Visible To".')))
->appendChild( ->appendChild(
id(new AphrontFormPolicyControl()) id(new AphrontFormPolicyControl())
->setUser($user) ->setUser($user)