Bikeman17 Posted May 24, 2004 Posted May 24, 2004 Hi there, A guy gave me a hand to develop this tiny solution to avoid the gray page when a staff enters a restricted file. Instead of ending up with the gray page, it displays a message. Nice 'n Cute. Now I want to add a third password that enable the user to enter the file with the same restriction. I've been playing around with for a while without success. Passwords: Admin = 120 Staff = 1 This solution uses a mix of groups, the Welcome script and a global field. Thanks, bk17
Bikeman17 Posted May 24, 2004 Author Posted May 24, 2004 Forgot to add the attached file. I had a big laugh too!
RalphL Posted May 26, 2004 Posted May 26, 2004 The secret of this file is the field "Access". It is only available to the group with the master password. When you try to set it to a value it fails. I have used a variation of this which has several fields with different access levels. The script checks to find the highest level permitted for the group.
Bikeman17 Posted May 26, 2004 Author Posted May 26, 2004 Ralph, Can you attach your file to a reply in order to see how you did it? bk17
RalphL Posted May 26, 2004 Posted May 26, 2004 Here is the sample file. The developer Password is Master. The other 2 levels are Admin and User.
Bikeman17 Posted May 27, 2004 Author Posted May 27, 2004 Thanks Ralph With a few modifications, it operates like a rocket! bk17
Recommended Posts
This topic is 7484 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now