Summary | LDAP Auth driver should have configurable capabilities |
Queue | Horde Framework Packages |
Queue Version | FRAMEWORK_3 |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | macura (at) opf (dot) slu (dot) cz |
Created | 05/19/2009 (5891 days ago) |
Due | |
Updated | 01/14/2015 (3825 days ago) |
Assigned | |
Resolved | 05/19/2009 (5891 days ago) |
Milestone | |
Patch | No |
In our environment, the LDAP database is read-only for Horde and user
management is done throuhgh other means. If someone tries to perform a
write operation in Horde (add, update, resetpassword, remove), he gets
an error.
Therefore, the ability to disable these capabilities at the LDAP
backend level, so they are not exposed in the UI would be great.
I temporarily edited my local copy of Horde/Auth/Ldap.php:
protected $_capabilities = array(
'add' => false,
'update' => false,
'resetpassword' => false,
'remove' => false,
'list' => true,
'authenticate' => true,
);
Although it works, it is of course not a viable solution. It would be
much better if this could be done through configuration.
further questions on the mailing list.
Please, can you give me a hint, how to disable user management by
another way? I want to be absolutely sure, that horde will not do any
changes into LDAP. But there are still buttons "Add", "Delete" etc.
belong users. It is problem for us. We use it by specifying ldap user
with minimum rights but better is to do not see any of this buttons.
Thank you.
down lists. And I just added a configuration option for that a few
days ago, for Horde 3.3.5.
State ⇒ Rejected
down lists. And I just added a configuration option for that a few
days ago, for Horde 3.3.5.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ LDAP Auth driver should have configurable capabilities
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ New
need to change it. Maybe this could be used to override capabilities
of other drivers too.
In config, ther could be something like:
$conf['auth']['params']['capability'] = Array ('list','add','update');
This could be very usefull because sometimes we have to disable
deleting or modifying ldap users from horde, and sometimes it is not
good to show all users in selectbox, when there are 10k+ users.
Thank you!