1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 11:12:42 +01:00
phorge-phorge/src/applications/meta
Josh Cox 0030bda17e Check if app is installed for user before displying
Summary: Fixes T11595. Previously if a user didn't have permissions to view an application it would still appear in the application typeahead in various menus. This change will prevent that by checking if the app is installed for the viewer before displaying it as an option

Test Plan: I went to the "Pin Applications" menu and typed in "Conpherence" and saw it appear as an option. I then went to the "Edit Policies" menu as an admin and removed permissions for my user to use Conpherence. Once I did that, it no longer showed up in the typeahead menu

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T11595

Differential Revision: https://secure.phabricator.com/D16518
2016-09-07 22:42:20 -04:00
..
application Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Normalize casing on property boxes 2016-04-06 15:33:15 -07:00
panel Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
phid Give application actors in feed reasonable icons 2016-04-20 14:38:55 -07:00
query Fix getIcon calls in PHUIObjectListItem 2016-08-19 09:35:09 -07:00
typeahead Check if app is installed for user before displying 2016-09-07 22:42:20 -04:00
view Removed all instances of getIconURI 2016-08-29 18:11:31 -04:00