close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Show regions all showing up

Thread began 10/29/2014 3:55 pm by rgolab68503 | Last modified 11/05/2014 10:15 am by Jason Byrnes | 1963 views | 9 replies |

rgolab68503

Show regions all showing up

Hi Jason,

A while back when I created the site and then the email verify section I had everything working when it came to security and security levels. Show an hide regions. I created the first part of the site for a download and all of a sudden the security doesn;t work the same.

The scenario is we have a variety of visitors to the site. Either media people, dealer, sales reps, intermediate admin, admin or super user.

I have set up the login pages etc. and the users. Everything with the standard "Logged in to entry" works fine. However when logged in to this level everything shows up. All the menus that I would like hidden. i can't figure out where I changed something so that the security levels do not work anymore.

Not sure if i have given you enough details. Please let me know if you need more information.

Sign in to reply to this post

Jason ByrnesWebAssist

See Pm

Sign in to reply to this post

rgolab68503

When you log in with the guest info I gave you you should not be seeing the menus circles in the attached photo (menus.jpg).

I set up a temp user for you in the info below with a username and password. If you log in with those credentials you should be an admin person and the screen should look like it is in the picture. Other levels loose some of the other columns.

Sign in to reply to this post

rgolab68503

Hi Jason. FTP info provided should work. Please let me know if you have issues.

Sign in to reply to this post

Jason ByrnesWebAssist

The problem is in the way the rules are configured.

for example, the Toyo Rep rule is defined as:

Allow? IF Session SecurityAssist_ID Not Equal blank value
Allow? IF Session emailVerified Equal 1
Allow? IF Session Level In Group Toyo Rep

The way this gets evaluated is success because the Session SecurityAssist_ID is Not Equal blank value.

when using multiple conditions like this, the first condition that can be answered, causes the rule to be true

the way to configure this would be as:
Restrict? IF Session SecurityAssist_ID Equal blank value
Restrict? IF Session emailVerified Not Equal 1
Allow? IF Session Level In Group Toyo Rep

So the way that would be evaluated is:
Restrict? IF Session SecurityAssist_ID Equal blank value - Session is not equal "", no answer, so move to next
Restrict? IF Session emailVerified Not Equal 1 - session is equal to 1, no answer so move to next
Allow? IF Session Level In Group Toyo Rep - ok, session is in group, so allow, success

Or if the session was not in group, it would be false, so restrict.

Sign in to reply to this post

rgolab68503

Hi Jason,

I changed the rules to state:
Restrict? IF Session emailVerified Not Equal 1
Allow? IF Session Level In Group Toyo Rep

And the same for the other levels each pointing to their individual groups that allow for more access numbers in the column "Level". I get the same results. I am wondering if i have the session set properly and if it is even passing on this data at login?

I am also wondering that if I leave this line in within my Server side include ...
<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>

See (error_message-1.jpg)

This line of course in in my source file. But when I remove this line the errors disappear and the page loads properly but in my servers behaviors panel when I am in and editing that include it states "prior version" (see attachment Levels-prior version.jpg) and if I try to update it from here I get the Javascript error (see attachment Java-error.jpg).

What is showing up now is no matter what i log in as (dealer, admin etc.) all that shows up is the first column. The mid-menu.php include does not show up at all.

Any ideas?

Now if i understand the security groups properly say you are a "super user" and you are logged in it looks to the groups and levels and sees that if column Level equals a 1,2,3,4 (all possible levels) then that area should show up. If they log in as say an admin they are set to 1,2,3 so only have access to those levels. In my mind this should work if the session is being passed properly.

FYI I even added on more restriction ...
Restrict? IF Session Level Not Equal 1
To see if that would help but same results.

I'll keep trying but if you could let me know where I'm going wrong hopefully that could speed things up a bit.

Sign in to reply to this post

Jason ByrnesWebAssist

Please provide a Skype username or a US phone number and a good time to contact you when you will be in front of your computer and we will have an engineer contact you to resolve this issue over the phone.

We are available Monday - Friday from 9am - 4pm EST (except major U.S. holidays).

Sign in to reply to this post

rgolab68503

See PM

Sign in to reply to this post

rgolab68503

Hi Jason, thanks again for explaining the issue so clearly. I completely got the concept of the rules backwards.


Have a great day.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

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