6.0.0-beta1
7/3/25

[#1324] Horde Display Options list all apps for "What application should Horde display after login?"
Summary Horde Display Options list all apps for "What application should Horde display after login?"
Queue Horde Base
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester allen.zhao (at) camilion (dot) com
Created 02/07/2005 (7451 days ago)
Due
Updated 02/09/2005 (7449 days ago)
Assigned 02/08/2005 (7450 days ago)
Resolved 02/09/2005 (7449 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/09/2005 03:47:01 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Done in a slightly different way in HEAD and 3.0.3.
02/08/2005 08:54:53 AM Jan Schneider Queue ⇒ Horde Base
Priority ⇒ 2. Medium
Version ⇒ HEAD
 
02/08/2005 08:54:01 AM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
02/07/2005 07:34:56 PM allen (dot) zhao (at) camilion (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde Display Options list all apps for "What application should Horde display after login?"
Queue ⇒ Horde Framework Packages
Reply to this comment
It should list only the installed apps, whatever we set the apa status 
to active or inactive in registry.



Changes:



in lib/prefs.php (rev 1.19) add:

114,117d113

<             // Make sure the app is installed

<             if (!file_exists($registry->get('fileroot', $a))) {

<                 continue;

<             }



After:

     $initial_application_options = array();

     $apps = $registry->listApps(array('active'));

     foreach ($apps as $a) {

         if (($perms->exists($a) && ($perms->hasPermission($a, 
Auth::getAuth(), PERMS_READ) || Auth::isAdmin())) ||

             !$perms->exists($a)) {


Saved Queries