Skip to content.

Etria Lists

 

[quills-dev] Allowing users to publish without delete rights ?

Michael Reitsma mreitsma at gmail.com
Wed Nov 1 08:32:18 UTC 2006


Hi,

Would it be possible to use the method described below to allow users to
publish an WeblogEntry?

Info (for those not already familiar with my setup :-) ):
In my setup the users can create weblogentrys but not publish them.
Since i do not want them to be able to delete the weblog i removed the
delete rights for them on this (folderish) object.
This also means they can not delete weblog entrys unfortunately.
This is not preferred but i can live with it, (i don't have a lot of posts)
However they can also not publish them because that involves calling a
script after the workflow runs that creates  (a) folder(s) and then moves
the entry.

Dan told me the following:
If the script is in a product on the file system then you need
a .metadata  file for the script, i.e.

myscript.py
myscript.py.metadata

in the metadata file add a line like

proxy=Manager

Dan

I did some looking and found two files that are used (i think) by the
workflowscriptcall:
Workflow_scripts.py and weblogarchive.py
Would it be sufficient to use the method described above or does this cause
havoc somewhere else ?

Plone 2.1.3 WinXP Quills 1.5RC3
-- 
met vriendelijke groeten / with kind regards

Michael Reitsma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.etria.com/pipermail/quills-dev/attachments/20061101/97c43437/attachment.html


More information about the quills-dev mailing list