Opened 6 years ago

Last modified 3 years ago

#8046 assigned defect

Support AuthzPolicy components

Reported by: Jordi Mallach Owned by: Ryan J Ollos
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: Sergio Talens-Oliag Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Currently (at least on Trac 0.12), the SvnAuthzAdminPlugin supports adding non-SVN urls like "wiki:WikiStart" as a "SVN path", which is useful if you want to use extended permissions provided by the AuthzPolicy core plugin. Once they are added, they don't show up in the web UI, making it impossible to manage them properly.

The plugin should be extended to support any kind of permission type provided by AuthzPolicy, not just SVN.


Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by dmcr@…

I don't think this would help, since this plugin, to my knowledge, only edits the authz file used by Subversion to control repo access ([trac]authz_file). Trac non-SVN URLs would be pointless in that file, since SVN would not know what to do with them.

AuthzPolicy uses a different configuration file: [authz_policy]authz_file .


comment:2 Changed 6 years ago by Jordi Mallach

Cc: Sergio Talens-Oliag added; anonymous removed

Yeah, the point is, being able to share the same file, or make SvnAuthzAdminPlugin be able to admin different files (SVN and AuthzPolicy). The UI of this plugin rocks, and an adaptation to all the components that AuthzPolicy can manage would be excellent.

comment:3 Changed 6 years ago by anonymous

I don't think sharing the same file is an option, since this might confuse apache's mod_authz_svn module, which reads the [trac]authz_file.

Being able to point this plugin to both files could presumably be done, assuming anyone is still supporting this plugin.

comment:4 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

The FineGrainedPageAuthzEditorPlugin does what you want, I believe. So, you could merge the code-bases and allow editing both files from the same UI.

comment:5 Changed 3 years ago by Ryan J Ollos

Owner: changed from Kis Gergely to Ryan J Ollos
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Ryan J Ollos.

Add Comment

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

Note: See TracTickets for help on using tickets.