Skip to content.

Etria Lists

 

[quills-dev] [Quills Issue Tracker] New issue: #127 - does not play nicely with Intranet/Extranet Workflow

Tim Hicks tim at sitefusion.co.uk
Mon Jan 7 19:47:40 UTC 2008


Derek Richardson wrote:

> Why code Quills to workflow states? Why not just have Quills obey the
> visibility attributes on the underlying content items according to
> standard permissions? Thus viewing a blog post, like viewing content
> in other ways, could be managed by workflows written by admins.

Yeah, this sounds like a nicer solution than what we have currently.

> This opens up having blogs that display user-specific entries based on
> security. That sounds nice, to me.

I agree that this sounds nice.  However, we probably need to put some 
thought into how this would work as it would subtly change the APIs and 
potentially make some of the views a little confusing - "why can't my 
reader see what I can see?".

As things stand, IWeblog.getEntries should return all entries that are 
viewable by anonymous.  As a first step to resolve the issue report 
(#127) that started this thread, it probably makes sense to adjust the 
relevant catalog queries so that they search for content that is 
anonymously viewable.  Off the top of my head, I can't think how to do 
that.  Any ideas?

Once we've got this issue sorted, then perhaps we could conceive of a 
changed/additional API that returns weblog entries based on the 
permissions of the caller/user.  I have no particular need for this 
myself (and so no need to scatch that itch), but if others do, then it 
sounds reasonable.

> BTW, this problem is why blogs are borken on my site, but, since all
> my workflows are custom, none of the variations on 'hardcode a
> workflow name' will work for me.

Before your message arrived, I was thinking of adding a (ttw) config 
option for a list of workflow states that should be deemed as 
'published'.  If we can't craft a catalog query as described above, 
perhaps this would help you and the original poster?


Tim


More information about the quills-dev mailing list