Fixes T7117. The slightly icky part is we just build the menu items up 2x because there's no way to tell you wont be able to make a menu item unless you try to make them all and come up with nada.
Details
Details
- Reviewers
epriestley chad - Maniphest Tasks
- T7117: Hide "Create New" button (+) if there is nothing that can be created
- Commits
- Restricted Diffusion Commit
rP3639896f5c11: Policy - make sure "quick create" menu doesn't show up if you have nothing…
created a user and denied them access to every application in the quick create menu. observed the "+" icon disappearing from the nav, correctly. used a different, unrestricted user and the menu showed up and worked
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable