Copy and paste the following JavaScript sample into your HTML = "Yes") Make sure that advanced features and parameters are enabled. Next step is to create an HTML DataPage and restrict access to the DataPage via authentication. Creating authentications and advanced settings are explained in details here. Also, make sure to enable “Enable auto-login” checkbox. Make sure to include the “logout destination” and “time out & redirection” links in the “advanced settings” section. Now that we have the three views created, we also need to set up three authentications that are based on these views. In this example we have three user levels, so we’ll need to create three separate views that filter based on user type and status checkbox. Once we identify how many users groups our application will have, we’ll need to create that many views to filter our data. They’re going to be routed to their account if they’re active inside the users table. Note that we do not need an additional checkbox for Employees. The users table has two Yes/No fields, Admin and Manager which stores Yes or No values based on the user’s permission in this application. In this example, we have users table which is used in authentication. If the user is a manager, then the user is directed to the manager dashboard/portal/interface. For example, if the user is an administrator the user is directed to the admin dashboard/portal/interface. The most common redirect is based on user type.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |