Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-11 01:15:56

speeke
Member
From: Bruny Island, Australia
Registered: 2009-03-29
Posts: 161
Website

User privileges for photo gallery website

I am looking to set up a non-profit photo gallery website for my local community so that photographers can upload a bio, images and image captions of the local area to share.

I’m thinking of using some of Stef’s wonderful plugins, namely smd_bio and smd_gallery, but am not sure what author privileges to set.

Staff Writer seems the obvious choice, but I basically want to restrict each contributor to only editing/publishing/deleting their bio, image and image caption details. In other words, I don’t want to allow them to contribute lengthy articles etc.

Any suggestions appreciated.


“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower

Offline

#2 2010-01-15 13:05:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: User privileges for photo gallery website

speeke wrote:

I don’t want to allow them to contribute lengthy articles etc.

Hmmm, I don’t think the current crop of priv plugins allow fine control of who can do what. bot_privs might help, or ied_hide_in_admin? Not sure.

If they don’t, you’re probably into the realms of a simple plugin whose pseudo-code reads:

if (logged-in-user-level == 'staff writer') {
   // Disable access to Write tab
   // Disable access to blah blah...
}

The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB