Mailing List Archive

[Zope-PTK] review process
Hi everyone,

Would someone be kind enough to offer a brief overview of how the review
process is supposed to work? I've created a test user, added some links
and news, requested that it be published, but my portal manager (who I've
given the role of 'reviewer') never hears of the request. I had assumed
that an email message would be sent to the reviewer. What am I missing?
Also, I notice that the roles of 'contributer' and 'reviewer' have no
permissions checked in the portal's security view. Is this an oversight?

-Tim

--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley H.S. | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN | | http://slashdot.org/
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com/
Re: [Zope-PTK] review process [ In reply to ]
Timothy Wilson wrote:
>
> Hi everyone,
>
> Would someone be kind enough to offer a brief overview of how the review
> process is supposed to work? I've created a test user, added some links
> and news, requested that it be published, but my portal manager (who I've
> given the role of 'reviewer') never hears of the request. I had assumed
> that an email message would be sent to the reviewer. What am I missing?
> Also, I notice that the roles of 'contributer' and 'reviewer' have no
> permissions checked in the portal's security view. Is this an oversight?

<understanding type=mine>
I don't believe an email message is sent. When the reviewer logs in,
they should see the items. The reviewer clicks on the 'manage item'
link, and is presented with the review sheet, where they can approve,
disapprove, set visibility date, etc.. IIRC, they may even see something
about it in the toolbox to the left of the Portal's index-html page.
</understanding>

Bill

--
In flying I have learned that carelessness and overconfidence are
usually far more dangerous than deliberately accepted risks.
-- Wilbur Wright in a letter to his father, September 1900
Re: [Zope-PTK] review process [ In reply to ]
G'day again, Timothy. Email generation is not implemented in the demo
portal. I aught to do that to provide an example. What you need to do is
put a method called 'before_review' on your Portal object. See the one on
PortalObject for the signature. This method gives you an opportunity to
munge the request, generate email, etc, before the review is applied. You
are expected to return a tuple in the same form as the method's
signature. (That is, return action, review_state, comments).

I'll place a before_review method on the DemoPortal Portal which
demonstrates this.

Mike.

On Mon, 14 Feb 2000, Timothy Wilson wrote:

> Hi everyone,
>
> Would someone be kind enough to offer a brief overview of how the review
> process is supposed to work? I've created a test user, added some links
> and news, requested that it be published, but my portal manager (who I've
> given the role of 'reviewer') never hears of the request. I had assumed
> that an email message would be sent to the reviewer. What am I missing?
> Also, I notice that the roles of 'contributer' and 'reviewer' have no
> permissions checked in the portal's security view. Is this an oversight?
>
> -Tim
>
> --
> Tim Wilson | Visit Sibley online: | Check out:
> Henry Sibley H.S. | http://www.isd197.k12.mn.us/ | http://www.zope.org/
> W. St. Paul, MN | | http://slashdot.org/
> wilson@visi.com | <dtml-var pithy_quote> | http://linux.com/
>
>
> _______________________________________________
> Zope-PTK maillist - Zope-PTK@zope.org
> http://lists.zope.org/mailman/listinfo/zope-ptk
>

--
Mike Pelletier email: mike@digicool.com
Mild mannered software developer icq: 7127228
by day, super villain by night. phone: 519-884-2434