[railroad-dev] I would like to copy a plone proxy
kit blake
kitblake at gmail.com
Sun Nov 20 09:01:31 CET 2005
2005/11/15, JR Courtois <jrcourtois at jrcourtois.net>:
> The context:
> I have a folder in which I collect some datas that I store using
> railroad. I want to make different versions of this folder, so I am
> copying the folder. I don't want to duplicate the data in Railroad, just
> have two different proxys on the same object.
>
> The error:
> 'NoneType' object has no attribute 'resource_url_for'
>
> I also cut and paste the object, and there is no trouble.
> I've seen that this was on the todo list and I wonder if this is a good
> idea to have more than one proxy on the same resource ?
The problem has to do with rights definition on the RR server. When a
proxy is created, the resource 'gets' the rights of the proxy object.
Actually RR checks the rights of the proxy with every request.
If there are more than one proxy, how does RR know which one to check?
There are a number of different ways to solve this problem, but
they all have pros and cons. Thus this was on the ToDo list, but we
haven't decided how we want to approach it.
I'm wondering if MJ ran into this on his RR project....
kit
--
kit blake
Infrae · infrae.com · +31 10 243 7051
Hoevestraat 10 · 3033GC · Rotterdam · The Netherlands
More information about the railroad-dev
mailing list