permission export/import

39 views
Skip to first unread message

MOLOKO

unread,
Aug 31, 2012, 6:10:46 AM8/31/12
to trac-...@googlegroups.com
According to the docs on TRAC administration, there should be a command that allows you to export/import permissions via
permission import [file]
and
permission export [file]
But when I try and run this command I get the error 'Command not found'...

I'm running TRAC 0.12.3

Anyone else tried this?

Cooke, Mark

unread,
Aug 31, 2012, 6:24:55 AM8/31/12
to trac-...@googlegroups.com
> -----Original Message-----
> From: trac-...@googlegroups.com On Behalf Of MOLOKO
> Sent: 31 August 2012 11:11
> To: trac-...@googlegroups.com
> Subject: [Trac] permission export/import
>
> According to the docs on TRAC administration
> <http://trac.edgewall.org/wiki/TracAdmin> , there should be a
> command that allows you to export/import permissions via
>
> permission import [file]
>
> and
>
> permission export [file]
>
> But when I try and run this command I get the error 'Command
> not found'...
>
> I'm running TRAC 0.12.3
>
> Anyone else tried this?

I just had a quick look at the log for perm.py (http://trac.edgewall.org/log/trunk/trac/perm.py) and those comamnds were added in r10714 in 0.13dev, so I guess you'll need to update to use them...

~ mark c

MOLOKO

unread,
Aug 31, 2012, 8:01:58 AM8/31/12
to trac-...@googlegroups.com, mark....@siemens.com
Well that's what I thought - but wanted to check as it seemed odd to include beta functionality in the documentation!

Cooke, Mark

unread,
Aug 31, 2012, 8:09:03 AM8/31/12
to trac-...@googlegroups.com, MOLOKO
[Note: convention here is to post in-line, it makes it easier to read!]

> -----Original Message-----
> From: MOLOKO [mailto:mlea...@gmail.com]
> Sent: 31 August 2012 13:02
> To: trac-...@googlegroups.com
> Cc: Cooke, Mark
> Subject: Re: [Trac] permission export/import
>
> On Friday, 31 August 2012 11:25:05 UTC+1, Cooke, Mark wrote:
>
>
> I just had a quick look at the log for perm.py
> (http://trac.edgewall.org/log/trunk/trac/perm.py
> <http://trac.edgewall.org/log/trunk/trac/perm.py> ) and those
> comamnds were added in r10714 in 0.13dev, so I guess you'll
> need to update to use them...
>
> ~ mark c
>
> Well that's what I thought - but wanted to check as it seemed
> odd to include beta functionality in the documentation!

Not really, t.e.o (trac.edgewall.org) usually runs the latest version of Trac (=> http://en.wikipedia.org/wiki/Eating_your_own_dog_food) and therefore has the documentation for that version as the default.

However, the older docs are usually available, so for:

http://trac.edgewall.org/wiki/TracAdmin

...for 0.12 you want...

http://trac.edgewall.org/wiki/0.12/TracAdmin

Note there used to be a note at the top of the page which would have been useful for you but that seems to have gone in the current page.

~ Mark C

MOLOKO

unread,
Aug 31, 2012, 8:25:27 AM8/31/12
to trac-...@googlegroups.com, MOLOKO, mark....@siemens.com
aha OK thanks - that makes perfect sense now!
Reply all
Reply to author
Forward
0 new messages