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 |
State ⇒ Resolved
[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
Priority ⇒ 1. Low
New Attachment: auth_capab.txt
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ Allow empty SQL-Querys in admin-driver
Type ⇒ Enhancement
State ⇒ New
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.