On 6/11/07, Stephen Moretti <[EMAIL PROTECTED]> wrote:
> Ok so this is probably a complete noob type question, but how do I install
> patches on to my installation of Trac?

Usually something like:

<cd to Trac source directory>
$ patch -p0 < yourpatch.diff
$ python setup.py install -f

That -p0 might have to be -p1 depending on the patch.

>
> Specifically, I'd like to install the WikiPrivatePatch
> http://www.trac-hacks.org/wiki/WikiPrivatePatch from Trac
> Hacks.
>
> Come to that - Does anyone have any suggestions for good plugins/patches/etc
> for allowing a more granular approach to security on wiki pages?

Unless you need a plugin that only works with 0.10, I'd suggest using Trac
trunk. It is quite stable, and has a fine-grained permission system integrated
[1]. The included sample authz plugin could be used to implement behaviour
similar to WikiPrivatePatch with something like this config:

[groups]
private_users = user1, user2, user3

[wiki:[EMAIL PROTECTED]
@private_users = WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY
* =

Alec

[1] http://trac.edgewall.org/wiki/TracDev/SecurityBranch
-- 
Evolution: Taking care of those too stupid to take care of themselves.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to