close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

change admin rights

Thread began 8/13/2010 11:44 am by randyw2394710 | Last modified 8/17/2010 8:57 am by Jason Byrnes | 1079 views | 3 replies |

randyw2394710

change admin rights

I would like to give Administrator, Super Administrator rights on a new section Im creating.
The sections work fine as Super Administrator, but need help

for instance I have a section for specials all the same page but only want Administrator to have have access to this portion not the whole site.

Sign in to reply to this post

Jason ByrnesWebAssist

To restrict a page to the administrator group, add the following

php:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>

<?php
if (!WA_Auth_RulePasses("Administrator")){
    
WA_Auth_RestrictAccess("index.php");
}
?>





to restrict the page to the supper administrator group, use the this code instead:

php:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>

<?php
if (!WA_Auth_RulePasses("Super Administrator")){
    
WA_Auth_RestrictAccess("index.php");
}
?>
Sign in to reply to this post

randyw2394710

ok let me clarify. I would like to create a new section for specials exatly how it is now. Instead of only being able to insert delete so forth when signed in super admin, I would like to give these rights to admin on new section.

Sign in to reply to this post

Jason ByrnesWebAssist

This is not supported, you would need to create the admin pages from scratch to be able to accomplish this.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...