On Mon, Apr 27, 2009 at 3:01 PM, Lukas Renggli
<renggli@gmail.com> wrote:
>> Yeah, that's exactly what I would have suggested.
>
> Ok. Perfect. So, this is what I will do then.
>
> What about adding a new command "publish post" or something like this and
> being able to set this in "change owner" and "change group" ?
>
> I mean, it would be very nice that a PRPost show the publish or not,
> depending if the user has access to the "publish post" action or similar.
>
> However, I think this is more complicated. Isn't it ?\
Yeah, that's probably more complicated.
The yet simplest solution is to subclass PBBlog and override
#description. If the current user is not an admin user
(PRCurrentContext value user), you filter the publication date field.
Lukas: Thanks! I start doing this. However I was having a problem. Till now I always use a 'admin' user that has a 'admin' group.
I created a new group called "finalUser". I create a user called "mariano" with that group. I went to "change group" with my admin user
and recursively I add "add comment" and "PRPost" permissions for the group "finalUser".
The problem is that I then try to login with "mariano" and I get this error: " Error: you are forbidden to access "/seaside/pier""
The error is quite descriptive, but I don't know how to give "mariano" the correct access.
Thanks for the help.
Mariano