close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

restricting access to admin usergroup?

Thread began 2/22/2021 10:15 am by Peterson Design Studio - jefferis | Last modified 4/22/2021 5:27 pm by Peterson Design Studio - jefferis | 77 views | 11 replies


Update: I may have solved it, but I want to be sure I'm thinking right. So if you want to confirm, thanks. Now I have instead changed the rule to "Restrict if <?php echo $ _SESSION ['UserGroupID'];?> <> 1" instead. Then it seems to work.
Okay, I do not know if I understood correctly.
But I have now added UserGroupID as a session to the UserGroupID column in authenticate. And I changed the VerifiedAdminUser rule to allow if <? Php echo $ _SESSION ['UserGroupID']; ?> = 1. Then I put "Grant access if" to a test page. This should allow only admin to log in to that page, since only admin has 1 as userGroup. But also the other test user comes in, who has userGroup 2. What have I missed?

You write "update your Authenticate User server behavior to save the user group value ...", but what I should do is retrieve this value from the correct user in the database, right? If so, how do I do this?

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