6.0.0-beta1
7/14/25

[#10510] Allow empty SQL-Querys in admin-driver
Summary Allow empty SQL-Querys in admin-driver
Queue Horde Base
Queue Version 4.0.9
Type Enhancement
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester michael.groene (at) zel (dot) uni-hannover (dot) de
Created 09/13/2011 (5053 days ago)
Due
Updated 09/14/2011 (5052 days ago)
Assigned
Resolved 09/14/2011 (5052 days ago)
Milestone
Patch Yes

History
09/14/2011 08:47:41 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
09/14/2011 08:47:32 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Dynamically disable capabilities of Customsql authentication 
driver if queries are empty (Michael Gröne, Request #10510).

  3 files changed, 46 insertions(+), 25 deletions(-)
http://git.horde.org/horde-git/-/commit/3dc1b44686f844cfa9505c45701c036df29cce0a
09/13/2011 11:25:36 AM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: auth_capab.txt Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ Allow empty SQL-Querys in admin-driver
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
We use the composite driver and as admin_driver customsql.
The admin_driver is just used to list users for kronolith, etc.
So we only have "query_list" filled in the config params.

Since the capabilities are statically coded in 
Horde/Auth/Customsql.php I added some code to avoid displaying e.g. 
the link to reset password on the login-page, because horde is not 
allowed to change anything in the database, where we list the users 
from.

I would really like, if the code (surely it has to be changed to match 
your coding standards) could be integrated in any form in the 
developement branch.

Saved Queries