On Oct 29, 10:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> according to Trac if I want to limit access to a page I need to use
> this script: $ trac-admin /path/to/projenv permission list.

You got that wrong.
The above command only _lists_ the permissions..

>  My
> questions are where do I place this line, in the page I want to
> restrict?
> Where does the projenv permission list live, is that a separate wiki
> page?
The command is for the OS shell not for the Trac wiki.
Log into the trac server and type the command in the command line
prompt
(or better ask an sysadmin to do this for you).
You can also use one of the admin plugins on http://trac-hacks.org/ to
do
permission changes over the trac admin webpage.

To add or remove permissions use the commands below after
'trac-admin /path/to/projenv'. But this only allows or forbids curtain
users to
view, create or change etc. ALL wiki pages, not one specific one.
There might be an trac-hack (http://trac-hacks.org/) which allows you
to fine-tune permissions.

permission list [user]
        -- List permission rules

permission add <user> <action> [action] [...]
        -- Add a new permission rule

permission remove <user> <action> [action] [...]
        -- Remove permission rule

Available actions:
[...]  WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE, WIKI_MODIFY, WIKI_RENAME,
 WIKI_VIEW

run:
trac-admin /path/to/projenv permission help
for a complete list of actions.


--~--~---------~--~----~------------~-------~--~----~
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