Ticket #1987 (closed enhancement: fixed)

Opened 3 years ago

Last modified 1 year ago

enabling globbing user "*"

Reported by: trac@alwins-world.de Assigned to: kisg
Priority: high Component: SvnAuthzAdminPlugin
Severity: trivial Keywords:
Cc: ThurnerRupert, diroussel, TimN Trac Release: 0.10

Description

Hi,

currently the pseudo-user "*" is missing in dropdown list. This catch-all is required if you want assign read-access to / to world.

eg

[project:/]
* = r

is currently not possible with this plugin :)

bye

Attachments

svnauthzadminplugin-globbing-users.patch (0.9 kB) - added by TimN on 01/09/08 19:13:12.
Trivial patch to always add * to the member list as first element for paths, but not for groups

Change History

11/05/07 14:46:52 changed by anonymous

  • cc set to ThurnerRupert.

11/05/07 14:48:06 changed by ThurnerRupert

  • priority changed from low to high.

it is also necessary to restrict global from a subfolder:

[project:/my/very/secret] * =

(follow-up: ↓ 5 ) 11/15/07 16:39:36 changed by anonymous

I have an existing authz file like this:

[groups]
my-commiters = rod,jane,freddy

[/]
* = r
@my-commiters = rw

But neither path shows up in the GUI. I guess it's the * that fails it?

11/15/07 16:40:22 changed by anonymous

  • cc changed from ThurnerRupert to ThurnerRupert, diroussel.

oop, that above comment was by me

(in reply to: ↑ 3 ) 01/03/08 14:02:11 changed by ThurnerRupert

for the plugin displays * on every position correctly. never tried a group with "-" though.

Replying to anonymous:

I have an existing authz file like this: {{{ [groups] my-commiters = rod,jane,freddy / * = r @my-commiters = rw }}} But neither path shows up in the GUI. I guess it's the * that fails it?

01/09/08 19:13:12 changed by TimN

  • attachment svnauthzadminplugin-globbing-users.patch added.

Trivial patch to always add * to the member list as first element for paths, but not for groups

01/09/08 19:15:10 changed by TimN

  • cc changed from ThurnerRupert, diroussel to ThurnerRupert, diroussel, TimN.

The added patch allow for adding * as a user to a path.

Dashes in a group name are no problem, we use it here as well. Actually the setup you mention is quite similar to what we have here, so looks like a "should work"...

03/25/09 22:28:15 changed by ThurnerRupert

  • status changed from new to closed.
  • resolution set to fixed.

(In [5402]) close #1987, apply patch


Add/Change #1987 (enabling globbing user "*")




Change Properties
Action