Limit user access to certain pages
We would like our users to update content on some pages but not others. Can this be achieved with PowerCMS and if so how?
We would like our users to update content on some pages but not others. Can this be achieved with PowerCMS and if so how?
no, PowerCMS does not support user assigned pages.
I have a potential client looking for a CMS, so that each department can edit only their own pages.
Rather than reinvent the wheel, I was hoping to base any work I did on PowerCMS2 or site sculptor.
I think all I need to achieve, is to filter the content list on the CMS admin home page.
Looking at a sitesculptor created site i did recently, if I add a column UserGroupID to pcms2_contents and filter this in pages.php, i can effectively remove a page from the content list, so if the person logged on is not in the correct usergroup, they will not have access this page.
Is there any developer guidance you could ( be prepared to) give ?
I am happy to hand code php & edit the database structure, but would like some tips on the best approach.
Regards
this really isn't a supported feature, so there isn't much beyond a general overview I can offer.
your strategy of adding the UserGroupID to the contents table is the correct way to go.
you would also need to add a way for the supper admin to assign the content areas to the user groups, a drop down list on the contents page should be all that is needed for this, then update the insert and update behaviors to use the usergroupID selected from the list.
Thanks Jason - its good to know I've got the right approach.
Being practical, I think a multi-user environment like the one suggested only works well for an intranet, I'll see how it goes and whether it goes beyond first stages.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.