close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Allow admins change user access

Thread began 7/19/2010 1:33 pm by mr hankey | Last modified 7/26/2010 2:44 pm by Eric Mittman | 1122 views | 5 replies |

mr hankey

Allow admins change user access

hi,

i have been asked by my client if it is possible for them to see the users and have tick boxes to which pages the users can and cannot see?

i have it built just now using webassist extensions.

thanks again

Sign in to reply to this post

Eric Mittman

This seems like something that is possible, however it might take some time to come up with the structure that would be needed to enable this.

The first thing you would need to do is come up with a way of restricting access to individual pages based on all different rules. So you would basically need to have a rule for each page that checks on a particular variable that is set when the user logs in or is set on the page with the rule based on a recordset that is filtered on the userID.

Once you have individual rules based on specific values you could then add in a table or columns to your users table to hold the access value for each of these new rules. You could then have an update page that will allow you to set the values in these new columns wich will dictate what pages the user has access to.

This is not a simple setup and it will require a bit of work to get implemented correctly but I think it is definitely possible.

Sign in to reply to this post

mr hankey

thasnk eric, it is something i would defintely like to impliment.

currently i have admin pages and user pages, however i need the admins to mix it so that users could have access to one of the admin pages but not the other and so on using tick boxes.

i thought about adding it into the users table, however would i just need one column or one column per page and have it set to either 1 for admins or 2 for users?

how can i impliement it to check the variable you talk about?

thanks again eric

Sign in to reply to this post

Eric Mittman

If you would just like to have simple access level, like these users are admins and these other users are low level admins then you could do this with one additional column. If you would like to control exactly what pages each individual user has access to then you would need individual page rules and you would need to store the page access information for each page for each user.

When it comes to checking the variable the idea is that on the login or authenticate user page you would modify the server behavior to store the various page access permissions in their own session variables. Then you would craft individual rules for each of the pages that would check on the value that was specific to that page. If the use has the correct value then they can have access to the page.

In general access to areas of a site are normally based on access levels and it is not something that is done on a per page basis.

Sign in to reply to this post

mr hankey

hi eric,

is there any documentation on how to create the check access per page so my client can have the ability to choose what pages certain users can have?

many thanks

Sign in to reply to this post

Eric Mittman

We have some documentation for traditional access levels with Security Assist that are available on the SecurityAssist support page. We do not have any documentation that is geared toward per page per user access.

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