close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Access admin as super administrator

Thread began 5/16/2013 4:10 am by CraigR | Last modified 5/16/2013 11:56 am by CraigR | 430 views | 3 replies

CraigRBeta Tester

Access admin as super administrator

Using the PowerCMS security as a starting point, I am adding a little bit of further complexity to my site.

I have modified the users_login.php page to take the user data from a members table and added a couple of new session variables to allow for the new user levels I have created.
(I have left the super administrator logic in place, and the wa_users table is still accessed for this role).

It all seems to be working OK, except when trying to log in as a super Administrator, and I can’t figure out how super administrator accesses the admin_cms home page.

The original admin_cms/index.php page has the following rule
<?php /*
if (!WA_Auth_RulePasses("Administrator")){

but super administrators can still access the page, even though they are not in the administrators group.

In order to allow for my additional userlevels, I created a new group called All Admin Groups which allow access to the admin home page if the userlevel is either 1 or 2. (multi group administrator or administrator)

This seems to work OK, but I cannot access the page as a super administrator using this rule

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...