Forums
This topic is locked
The point where access levels need to be created
28 Sep 2001 05:31:02 B. B. posted:
Hello! Have a site that will be restricting access to pages based on access levels. That concept is understood as well as using the Restrict Access behavior to do this. However, say you need to have user level and admin level. If the registration page has a hidden field defining the default access level as user then where or when do you set or define the access to admin level? Have played with changing the access level based on the username to admin but that does not look to be secure if users can view the source code on the page.
What are the other options, to physically go into the database and set the access level for a particular user to admin or is there a way to do it on the registration page for a specific user and have the code hidden? Have
checked the tech notes about access levels but have not come across one where the
different values are set other than setting a hidden default value on the registration page.
Would greatly appreciate any help in resolving this. Thanks!