| Author |
|
pgplast New User

Joined: January/10/2007 Location: United States
Online Status: Offline Info: 30
|
| Added: January/20/2007 at 9:19am | IP Logged
|
|
|
As the app does not appear to allow a "superuser" the ability to create
several admins with control of different user groups, would it be possible to
set up several instances of the app in different folders, each with its own
"admin" but sharing a common database?
Thanks
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: January/20/2007 at 1:55pm | IP Logged
|
|
|
You are correct. It was not designed to do that, There is only one kind of admin by design.
You would have to carefully modify the application's ap code if you wanted different levels of admins.
I would suggest making exact copies of the password_admin folder, but with different folder named.. leave the original untouced.. modify the copies to do what you need for other users. It will be some degree of work but is quite doable if you are good with asp.
It is not something I support as it is custimization but that will get you started.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
pgplast New User

Joined: January/10/2007 Location: United States
Online Status: Offline Info: 30
|
| Added: January/20/2007 at 2:10pm | IP Logged
|
|
|
What about this?
If I made new versions of register.asp and add_new_account.asp that I
made available to an "admin" I want to allow to create users. That "admin"
could create users for a particular group (after add_new_account.asp is
appropriately altered) without accessing the admin pages at all?
Would it throw an error if I made a new register.asp page with just a few
of the fields used in the main register.asp page?
Wouldn't this allow the global setting for the app to be for allowing open
registration while still allowing an admin to manually create users for a
certain group?
(Of course, only a true admin would be able to delete any users created)
Thanks
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: January/20/2007 at 2:16pm | IP Logged
|
|
|
if you make a copy of register.asp you of course also need to make a seperate copy of the page it posts to and edit both accordingly. Renaming each to whatever and making sure they still work etc etc etc etc
You want them completely seperate of the normal versions of the files. You'll need to edit the page posted to to only do validation checks on some of the fields. Not hard at all if you look at the code an just delete the checks you don't want/need.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
pgplast New User

Joined: January/10/2007 Location: United States
Online Status: Offline Info: 30
|
| Added: January/20/2007 at 2:48pm | IP Logged
|
|
|
Yes, thankyou Chris.
I don't know if I should start a separate thread about this, but I would like to
use aspProtect as the basis for a registered users-only area on a website we
are designing. I would like the user to be able to register for a "My Site"
membership so that after logging in he sees a page that shows his own
preferences in terms of content. If I can have your custom fields hold
reference to various features the user mght want, then I could allow users to
go to a generic "mysite.asp" protected page that checks the session
variables and places the appropriate content in for that particular user.
Do you see this as a reasonable scheme?
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: January/20/2007 at 2:54pm | IP Logged
|
|
|
of course.. it's very doable..
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |