Modify

Opened 5 years ago

Closed 5 years ago

#4870 closed defect (wontfix)

Conflict with Trac's fine grained permissions

Reported by: mitar Owned by: kisg
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: mmitar@…, chrisheller Trac Release: 0.11

Description

Because SvnAuthzAdminPlugin uses authz_file configuration parameter setting it enables Trac's fine grained permissions. The problem is if this is unwanted.

I would suggest SvnAuthzAdminPlugin first tries authz_file configuration parameter, if it does not find any, it tries svn_authz_file configuration parameter (or a parameter in a SvnAuthzAdminPlugin section) and if also this fails, it fails with an error message. And similarly for authz_module_name parameter.

So an user will be able to decide whether to use authz_file or SvnAuthzAdminPlugin parameter.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by chrisheller

The only place where this setting is read is in the init() method of the SvnAuthzAdminPage class, which is at the top of svnauthz/admin_ui.py. So, it should be fairly easy to change.

comment:2 Changed 5 years ago by ThurnerRupert

could you please attach a patch?

comment:3 Changed 5 years ago by ThurnerRupert

  • Cc chrisheller added

comment:4 Changed 5 years ago by ThurnerRupert

  • Resolution set to wontfix
  • Status changed from new to closed

SvnAuthzAdminPlugin - you mean you want to browse freely, and anyway restrict access on svn? this seems strange ... mark as won't fix therefor.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.