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

rating

Which way to go for user level authentication

Thread began 10/15/2020 4:59 am by Ashok | Last modified 10/15/2020 8:32 am by Ray Borduin | 11 views | 1 replies |

Ashok

Which way to go for user level authentication

Hello,
I want to have 3 user levels namely Administrator (1), Editor (2), user (3). Users can only add an entry to database. Editors can add and edit these entries. Administrators can add, edit and delete these entries.

I want to have single page for data entry, single page to edit and single page to delete entry.

Now, add entry page will allow all levels to work, edit page will allow only editors and administrators while link to delete entry on this page should be visible only to administrator, and delete entry page is accessible only to administrators.

Can you point me to tutorial on this?

Sign in to reply to this post

Ray BorduinWebAssist

I don't have a tutorial that I know of for this, but I can tell you the steps.

1) Save the UserLevel column in the session from the Authentication server behavior on your login page
2) Go to WebAssist->Security Assist->Manage Site Access->Access Rules Manager and create two rules "admin access" : Allow If UserLevel = 1; "editor access" : Allow If UserLevel = 1, Allow If UserLevel = 2 (user access is the default for a logged in user if they aren't admin or editors, so you don't need that rule)

Now you can use the access rules to hide and show elements on the page using the Security Assist->Show If server behavior, or restrict access to pages based on the security rules you have defined.

Sign in to reply to this post
Did this help? Tips are appreciated...

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