Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 Remy Blank, 12 years ago

Milestone: 0.12
Resolution: worksforme
Status: newclosed

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:

[repos1:/branches/calc/bug-142]
harry = rw
sally = r

[repos2:/branches/experimental]
sally = rw

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. Setting authz_module_name allows using a specific set of sections for the default repository.

comment:2 by anonymous, 12 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?

in reply to:  2 comment:3 by Remy Blank, 12 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.