Limiting user rights to edit pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
intru
New Member
New Member
Posts: 5
Joined: Wed Oct 03, 2007 3:41 pm

Limiting user rights to edit pages

Post by intru »

I'm fairly new to CMSMS, and trying to build a website for a client. The client will have a userlogin for the backend, and only have very limited rights (edit some pages, not all, add news).
I figured out how to give a user/group the rights to only edit certain pages, and this works really well. So when the client logs in, he has only 2 things under content 'pages' and 'news'. (He has permissions to modify/delete news, and is an 'editional editor' of certain pages)

The problem is editing the pages, in the pages overview (listcontent.php) there is to much information visible (the client doesn't need to know what template the page has, or who the owner is). And when editing a certain page, the client is able to change the content type, and weather or not a page is cachable. This is way beyond the knowledge of my client, and therefore I only want him to be able to edit the content itself.

Is there any way to do this?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Limiting user rights to edit pages

Post by calguy1000 »

CMS 1.3 has improved this a bit.

The cachable flag can now be hidden from additional editors
and the template name is still displayed, but it's only a string, not a link
the content type and owner are still displayed.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
intru
New Member
New Member
Posts: 5
Joined: Wed Oct 03, 2007 3:41 pm

Re: Limiting user rights to edit pages

Post by intru »

That's nice to hear, but won't solve my problem (now). I think I will delve into the sourcecode and modify it so that my client only sees the information that he will actually use. But this will probably bring me in troubles when updated to a newer version, right?

An other workaround that I though of is trying to hide the information using a modified admin theme and css. This makes updating to a newer version easier, but theoretically  the client could still change the data (but i will probably not happen).

Any ideas/suggestions what option will be best?
Pierre M.

Re: Limiting user rights to edit pages

Post by Pierre M. »

Hello,
intru wrote: ...I think I will delve into the sourcecode and modify it so that my client only sees the information that he will actually use. But this will probably bring me in troubles when updated to a newer version, right?
...unless you submit your patch in the forge... and it get accepted and merged.

Pierre M.
intru
New Member
New Member
Posts: 5
Joined: Wed Oct 03, 2007 3:41 pm

Re: Limiting user rights to edit pages

Post by intru »

Pierre M. wrote: ...unless you submit your patch in the forge... and it get accepted and merged.
I've made all the changes that I needed, and it was quite easy. I manually made an extra permission, and checked for it in the places of relevance. But the problem with submitting this to the forge would be: it's made specifically for my situation. I've made changed to the file to edit a page, but not to add a page (since my client won't do that). So it wouldn't be a nice consistent patch : (
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Limiting user rights to edit pages

Post by applejack »

Hi Intu

So how did you make it so that a certain user can only edit certain pages as I didn't realise this could be done. Is this via the admin or using FEU?

Please ignore I worked it out.
Last edited by applejack on Sat May 31, 2008 1:54 pm, edited 1 time in total.

Website Design & Production
http://www.applejack.co.uk
Post Reply

Return to “CMSMS Core”