On Tue, Apr 28, 2009 at 7:14 AM, Lukas Renggli <renggli@gmail.com> wrote:
>> 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".

I tried to reproduce that, but it works for me. Did you give the view
permissions?

:)  That did the trick!  Thanks!

Now, the last thing I need is what I said in mail with subject "Link for adding a new post".

If that's not possible, can I filter the "Type" list when adding something to a blog ? Suppose you are a final user with finalUser group. You will be able to add a PRBlogWithAuthorization but won't be able to add a PRBlog. However, both of them are shown in the list. Ok, I that user selects a PRBlog then Pier says "permission denied". But, I would like to avoid this step. I mean, each user see in that list the thing he has permissions for.

Can I do this?

Thanks!

Mariano


 

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki