T O P I C R E V I E W |
myszak |
Posted - 01/14/2009 : 04:00:19 I have noticed funny thing. There is a possibility to delete Admin user by himself when he is logged in. I did it once accidently and I lost all my reports which were in “My reports” folder. I couldn’t find the way to get them back but that is not the point. The question is: is it a purpose function of the application to let Admin delete himself? Do You think it is secure? |
1 L A T E S T R E P L I E S (Newest First) |
admin |
Posted - 01/15/2009 : 19:56:34 On one hand, single admin should not be able to delete himself. On the other hand, site can contain multiple admins, and these users should be able to delete another one.
In any case, you can restore the admin user by running the script below:
INSERT INTO AppUser (UserId, UserName, Password, FirstName, LastName, Email, IsAdmin, IsWriter) VALUES (1, 'admin', 'C6C7DFCEE2', 'Administrator', '', 'admin@hotmail.com', 1, 1)
|
|
|