#9250 closed defect (worksforme)
Missing per-repository attributes "authz_file" and "authz_module_name"
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12dev |
Severity: | normal | Keywords: | multiple-repository |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The multi-repository support lacks attributes to set the authz_file and authz_module_name on a per-repository basis, at least according to the documentation.
If you need fine-grained permissions, this severely limits the usefulness of multi-repository support.
Attachments (0)
Change History (3)
comment:1 by , 14 years ago
Milestone: | 0.12 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
follow-up: 3 comment:2 by , 14 years ago
Hi, it's me again (anonymous). You're right about the single authz file. I still wonder what is used as svn module name, the name of a named repository? The value of the .name attribute? Automatically detected from the .dir attribute?
comment:3 by , 14 years ago
Replying to anonymous:
I still wonder what is used as svn module name, the name of a named repository? The value of the .name attribute? Automatically detected from the .dir attribute?
The name of the repository. And for the default repository, the value of [trac] authz_module_name
.
This is not necessary. A single authz file can be used for all repositories, and the individual repositories are identified by the module prefix, as documented:
The
authz_module_name
only specifies the module name for the default repository, because the latter has an empty name, and a section in the authz file without an explicit module applies to all repositories, which is not generally desired. Settingauthz_module_name
allows using a specific set of sections for the default repository.