Group permissions - restricting the advanced options

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
snowcrash
Regular
Posts: 12
Joined: Tue Nov 22, 2005 2:38 pm
Location: London

Group permissions - restricting the advanced options

Post by snowcrash »

Hello

I'm setting up a group blog.
For a particular user group that can create entries, can it be set that none of the advanced options are available to them? So for instance, they can't set a sticky post, etc?
Or maybe I've missed some obvious permission setting


thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Group permissions - restricting the advanced options

Post by garvinhicking »

No, such a setting is currently not available - it would need to be coded. That wouldn't be too hard - but not terribly easy either...

You could modify the plugin quite easily for yourself by editing the entryproperties plugin and adding checks like this:

Code: Select all

if ($serendipity['authorid'] == 2) { ?>advanced properties here... <?php } ?>
An abstract way of defining access control lists there would take more time...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply