1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/src/applications/project
epriestley f1f8ee8e6a Improve subproject/milestone error handling for users who can't create projects
Summary:
Fixes T10357.

  - Show a better (more descriptive) error message when a user who can't create projects tries to create a subproject or milestone.
  - Disable the subproject actions if you don't have create permission.

All this stuff was already enforced properly: this diff doesn't make any actual policy changes, just improves the UI for users who lack permission.

Test Plan:
  - As an unprivileged user (no "Can Create Projects"), tried to create a subproject or milestone.
  - After patch, got a disabled action, with more specific and helpful error than before.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10357

Differential Revision: https://secure.phabricator.com/D15274
2016-02-15 07:32:42 -08:00
..
__tests__ Use an extended policy to bind column and board policies together 2016-02-13 11:34:54 -08:00
application Allow workboard sorting and filtering to be saved as defaults 2016-02-12 07:47:23 -08:00
capability Add default View, Edit, and Join Policies to Projects 2014-11-21 11:22:17 -08:00
command Implement a "!projects" mail command 2015-04-01 11:51:51 -07:00
conduit Allow installs to customize project icons 2016-01-08 14:01:53 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
controller Improve subproject/milestone error handling for users who can't create projects 2016-02-15 07:32:42 -08:00
customfield Convert projects to EditEngine 2015-12-27 15:42:50 -08:00
edge Replace subscribe/unsubscribe for projects with explicit mail setting 2016-01-19 19:39:02 -08:00
editor Don't show un-completeable results in people/project autocomplete 2016-02-12 11:03:21 -08:00
engine Don't autoname milestones, but do show the previous milestone name as a hint 2016-02-12 11:04:46 -08:00
engineextension New People Hovercards 2016-02-11 15:41:55 -08:00
events New People Hovercards 2016-02-11 15:41:55 -08:00
herald Add Herald support for projects 2016-01-19 19:37:54 -08:00
icon Add more information (colors, members, watchers) to project.search 2016-01-24 10:02:05 -08:00
interface Roughly implement milestone columns on workboards 2016-02-03 16:37:59 -08:00
lipsum Improve lispum generation of pastes 2015-12-25 07:41:38 -08:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
phid Fix dead column link and provide more milestone UI context 2016-02-05 12:25:52 -08:00
policyrule De-garbage the horrible garbage project section of the policy selection control 2016-02-05 09:50:06 -08:00
profilepanel Add a basic progress bar for milestones 2016-02-08 18:50:22 -08:00
query Sort milestones by milestone number, not ID 2016-02-13 08:36:25 -08:00
remarkup Give project tags hovercards 2016-02-03 14:50:49 -08:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
searchfield Fix a bad call when prefilling ApplicationSearch from ?projects=some_slug 2016-02-08 10:44:33 -08:00
storage Use an extended policy to bind column and board policies together 2016-02-13 11:34:54 -08:00
typeahead Don't show un-completeable results in people/project autocomplete 2016-02-12 11:03:21 -08:00
view Minor CSS touches to workboard quest experience 2016-02-11 17:10:43 -08:00