4 Apr
2000
4 Apr
'00
4:06 p.m.
On Tue, 4 Apr 2000 a.wacknitz@francotyp.com wrote:
manage_clone() is only allowed to managers. How can I authorize a user without "AUTHENTICATED_USER.has_role('Manager')" to use this method? I
You want to give your method that calls manage_clone a "proxy" role of manager.
haven't found an appropriate ceckbox on the security pages.
Check out the "Proxy" tab instead.
Second, how can I parameterize the location where the clones will be added? For the moment my solution is to copy the document that calls the manage_clone() method to the destination folder for the clones...
I think you need some dtml-with magic here, but I haven't done this myself yet so I'll leave it for someone else to answer. --RDM