1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 21:19:21 +01:00
phorge-phorge/src/applications/harbormaster
lkassianik 80acaf6831 Users with no build plan capabilities should see "New Build Plan" button as greyed out and a modal dialog explaining the policy.
Summary: Fixes T7499, New Build Plan button should be greyed out in Harbormaster list view.

Test Plan: Login as non-admin user, navigate to Harbormaster, New Build Plan button should be greyed out and clicking it should result in a "You Shall Not Pass" modal dialog that does not navigate away from build list view.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7499

Differential Revision: https://secure.phabricator.com/D12559
2015-04-26 12:45:08 -07:00
..
application Remove getIconName from all applications 2015-01-30 12:11:21 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
config Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
controller Users with no build plan capabilities should see "New Build Plan" button as greyed out and a modal dialog explaining the policy. 2015-04-26 12:45:08 -07:00
customfield Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
editor Minor formatting changes 2014-10-08 08:39:49 +11:00
engine Minor formatting changes 2014-10-08 08:39:49 +11:00
event Implement showing buildable status in Diffusion 2014-06-14 02:28:00 +10:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
interface Move build variables into HarbormasterBuildableInterface 2014-06-20 12:58:23 +10:00
management Fix visibility of PhutilArgumentWorkflow::didConstruct methods 2015-01-16 07:42:07 +11:00
phid Implement build simulation; convert Harbormaster to be purely dependency based 2014-07-31 11:39:49 +10:00
query Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
step Use new FutureIterator instead of Futures 2014-12-30 23:13:38 +11:00
storage Make Harbormaster build plan datasource more browsable 2015-04-17 11:06:58 -07:00
typeahead Give typeahead browse dialogs sensible titles 2015-04-20 10:06:23 -07:00
view Minor formatting changes 2014-10-08 08:39:49 +11:00
worker Fix visibility of the PhabricatorWorker::doWork() methods 2015-01-16 06:58:50 +11:00