Andreas Hartmann wrote:
Richard Frovarp schrieb:
I want to send an email notification to the responsible reviewers after
an editor has submitted the page for review. Quite naturally if that
user has the ability to review the page, no notification should be sent.
I am still trying to figure out the workings of all the code behind a
document. Could someone point me in the right direction? I am guessing
there is a somewhat easy way to get the list of users that have review
permission on a document?

Apparently that was not yet implemented - I added a method to
PolicyUtil:


Identifiable[] recipients =
    PolicyUtil.getUsersWithRole(
        this.manager,
        authoringDocument.getCanonicalWebappURL(),
        "review",
        getLogger());


-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Cool. Thanks. I'll take a look at it shortly.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to