PDA

View Full Version : Add another user to admin


John Langer
06-04-2009, 04:06 AM
Hi,

Just purchased this and it really is very good.

I have a particular scenario that I'd like some help with please.

I'd like to leave PowerCMS as it is for the developer (me) so that I and I alone can add pages. Therefore it follows that I need another user set up with less privileges.

So far I've thought that I could put the menu item "Insert new content" behind a SecurityAssist behaviour of some kind so that it shows if logged in as the developer but not show if logged in as "User" (for example).

How can I add the extra user level. I do have all the WebAssist extensions for PowerCMS installed.

Many thanks.

Ray Borduin
06-04-2009, 09:29 AM
CMS uses a simple login technique currently. Where it just sets a single session variable based on the correct username and password being entered.

You could replicate that functionality so that a different username and password would set that session variable and another one as well.

Then you can create a group rule definition in Security Assist based on that second session variable. Then you could use that rule in the security assist page redirect to restrict access to insert pages as well as in the conditional region to optionally display the buttons leading to the restricted pages as well.

John Langer
06-04-2009, 09:41 AM
Yes, thanks Ray. It's a while since I've used Security Assist. You've rung a few bells there. I'll have a look at it.

Thanks again, I'll come back if I get stuck.

adrian358038
08-18-2009, 04:40 PM
Hi Ray

you replied to this post from John some time ago and I have just come across it with a similar situation. Also have all necessary WA software - super suite, PowerStore 2, cms solution and dreamweaver.

Can you give a little more detail regarding adding more users to power store 2 with restricted privileges or point me in the right direction for some more detailed tutorial?

Also can I combine power store 2 and powerCMS giving different users control over the site?

Ray Borduin
08-19-2009, 07:10 AM
The best thing to do is to follow the securityAssist tutorials. If you combine powerstore and powerCMS then all of the registration and login information will already be done for you, but Security Assist documentation will help you understand how it all works.

You can take advantage of the SecurityAssist server behaviors for restricting page access and setting session variables to define user groups. It is all covered in the documentation... maybe go through the documentation and tutorials on securityAssist and then you will be able to recognize what is already working in powerstore and take advantage of it for your needs.