close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist - help with access rules

Thread began 12/20/2012 5:07 am by iainmacdonald331081 | Last modified 12/20/2012 7:25 am by Jason Byrnes | 1251 views | 2 replies |

iainmacdonald331081

Security Assist - help with access rules

I'm trying to manage access to pages by user level.

The site will allow people to log in to various pages, but only a subset of all users will be able to add new tour itineraries to the site.

I have my table of users, with a column for User_Level - currently 1, 2, and 3.

I have it all working so that anyone can log in.

But am going wrong in restricting some pages to users with a User_Level of 3.

I have attached the page I am testing, along with a screen shot of the Access Rules Manager dialogue box. The first condition is for people logged in, and I have added a second condition to only grant access to the page when the User_Level session variable = 3.

Which I thought was it, but I'm missing something, as it isn't working yet.

Thanks.

Attached Files
access_files.zip
Sign in to reply to this post

iainmacdonald331081

Actually, I was going through some of the archived documentation for SA, and noticed that in the example there, the rule only had the second condition, without the original one to be logged in. I tried taking that out in my example, and it looks like its working now.

Does that sound about right?

One other question on this - if I have one set of pages that are restricted to one group, and another set of pages restricted to a second group, what would the rule be to allow a third group access to both sets of pages?

EDIT - think I've got that now. I would use the Groups?

So I would have three user levels:

1. Administrators
2. Tour Operators
3. Lodge Owners

And add two new groups:

1. Administrators and Tour Operators
2. Administrators and Lodge Owners

And the In Group as my criteria in two rules based on those groups.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, thats correct.

to allow access to Admins and Tour Operators, Create a group with the values of 1,2 and use the InGroup condition.

to allow access to Admins and Lodge Owners, the group values would be 1,3 and use the InGroup condition.

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