#8642 closed enhancement (wontfix)
prefix for environment-specific permissions (e.g. in ldap) should be configurable
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | none |
Severity: | normal | Keywords: | ldap ldapplugin environment name |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Situation: I am working on a trac based server for our development needs. Multiple projects with one or more svn repos each. I integrate with ldapplugin into our ldap-directory and a postgresql-db for the database backend. I created a hierarical directory structure with a directory for each project (=trac-environment) below of customer directories. In this project directory are several subdirs. One for the environement itself (in the everytime same subdirectory trac) beneath a svn directory with repo subdirs and some other things. I like this structure because it's straight forward (everything belonging to a project keeps together).
But it breaks the ldap-based environment-permissions, because the prefix is the environment-dir (everytime "trac" in my case). Making this configurable would be a great help.
I could imagine 2 solutions:
- Set the prefix to another variable, eg. project name. This could be set in trac.ini once.
- Alternatevly the prefix could be a setting withing each environments conf/trac.ini
Isn't that an issue with the one of the LDAP related plugins (http://trac-hacks.org/tags/'ldap', can't guess which)?
If not, please reopen and indicate how Trac itself should be modified (preferably with a patch).