Hello.
I've started to implement a small Product in Python. One method should be
able to access an object in a folder which isn't accessible by anonymous
but only by a special role. Is it possible to give a proxy-role to the
python-method to access this object ?
cheers Martin
i.A.
Martin
t argument.
self.aq_acquire('Control_Panel').Products.NameOfYourZClassProduct.NameOfYour
ZClass(Instance-Parameter)
Good luck.
i.A.
Martin Grönemeyer
Technik
|| | || c o m.u n i t G m b H ||| | | || | | | | | | | |
http://www.comunit.de/ mailto:[EMAIL PROTECTED]
Eiffestr. 598 205
Hello everyone,
if've had little namespace problems with this code-snipped (dtml-method):
dtml-with REQUEST
dtml-in "[1,2,3,4,5,6,7,8]"
dtml-call "REQUEST.set('row_index',_['sequence-index'])"
dtml-var "REQUEST.get('row_index')"
dtml-var row_index
/dtml-in
/dtml-with
This produces an
Hi all,
has there some discussions about a name conflict, if I start to add an
object to a folder with an object-id wich is also a Property of the folder ?
In the method _checkId of the ObjectManager e.g. the folder is checked with
hasatrr(this,id). And this is true if there exists a property
i have some strange problmes by using the
"REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is
active. I have also some Sites in use without SiteAccess and no problems
with the above method.
Tell me more about the problem, please. SiteAccess replaces
REQUEST.traverse, which