Thankfully this happend with a test install with 16 test members! I am developing a script to import my users from my old site. I ran the process to import a user to check all data was being converted and imported etc. Went to delete that user. As they are newest user they are listed at bottom in admin pannel by default. I accidently clicked "Select All" instead of the user's check box, and hit "Delete" - and then a fraction of a second later realised my mistake, by which time it was too late.
Here's the result. All 16 users deleted, all 16 user's photos, sounds, videos and everything deleted. Here's the oh so typical boonex bit...... wait for it...... admin deleted! Yea admin's profile got deleted to, then it was impossible to log back in!
Luckely I had backed my database up prior to doing my testing, but the avatars, photos, videos etc have obviously all gone, and if the site was live I'd probably be snorting copious ammounts of vodka up my nose, and washing my eyes out with lemon juice by now!
In short this once again flies in the face of logic, and puts dolphin admins at great danger. A simple javascript "Are you sure?" prompt is all it needs. So why isn't it there? Yes I know I should have been more careful as admin, but data is precious, and any other script, including my own always have built in protection - to protect data from ACCIDENTAL loss.
|
This has been brought up many times before. Basically, it always ends with them saying you should be more careful. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
phhhhtttttt
windows users are not accustomed to such authoritative issuance of a command. i dont want it to ask me if i am sure, if i want to delete something, i want it gone.
sorry about your luck on this one and good thing you had a backup.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Yeah, dolphin seems to be the only software that I've ever seen that doesn't have a "don't delete self" or "don't delete admin" option. And the response I got was "hahaha be careful, we like the russian roulette of it!" LOL
You can restore the avatars, photos, videos, etc. by uploading the backed up data files for each modules. If I remember correctly it's /modules/boonex/avatar/data/images/, /modules/boonex/photos/data/files/, /modules/boonex/sounds/photos/data/files/, /modules/boonex/video/data/files/, modules/boonex/files/data/files/.
|
Yeah, dolphin seems to be the only software that I've ever seen that doesn't have a "don't delete self" or "don't delete admin" option. And the response I got was "hahaha be careful, we like the russian roulette of it!" LOL
You can restore the avatars, photos, videos, etc. by uploading the backed up data files for each modules. If I remember correctly it's /modules/boonex/avatar/data/images/, /modules/boonex/photos/data/files/, /modules/boonex/sounds/photos/data/files/, /modules/boonex/video/data/files/, modules/boonex/files/data/files/.
What backed up data files??!! lol Well they'll be in the server backup, but really it's no biggy as it's just a test site.
|
Hey Dos, yes I agree if your deleting one by one a prompt is a real pain, but if you accidentally select all, that's when you need a prompt. Oh and also if your going to delete your self, then you deffo need a prompt! Quite simply it should not be possible to delete your self as admin. That's just bad logic! I use windows and linux by the way |
yes i agree, its bad logic, but then again, its par for the course.
Hey Dos, yes I agree if your deleting one by one a prompt is a real pain, but if you accidentally select all, that's when you need a prompt. Oh and also if your going to delete your self, then you deffo need a prompt! Quite simply it should not be possible to delete your self as admin. That's just bad logic! I use windows and linux by the way
as a linux user, you would be very well aware that a command is a command, and most times, there is not taking it back, there is no recycle bin, when you hit the enter key, its a done deal.
i was not necessarily referencing you as a windows user, however, that is certainly a feature windows users have become accustomed to, is being asked multiple times if they are sure they want to perform any action.
with linux it is more critical than even what is being discussed here, because whereas you made a mistake and lack of attention created the issue, this is attributed to end-user error, and there is no way to make any site idiot proof, windows has tried, and i find those features extremely annoying. in talking with one of my colleagues, i hinted that i would be taking a matter up with the Chrysler Corporation. In route to the store the other day, i opted to use my left blinker and proceeded to make a left hand turn, at which point i was T-Boned, now i think Chrysler is at fault with bad logic for not verifying that i in fact meant to turn left.
what do you think there? have i got a case, then i want them to be held responsible, because not only did i turn in front of oncoming traffic, i also applied the brake pedal in panic as i seen the path was not clear for travel, and there was no prompt asking me if i was sure i needed to apply the brake pedal.
:) LOL, that didnt really happen, but that is what i liken this complaint to, that you should be prompted for your every action. end-user errors are the greatest cause of all situations, accidentally or on purpose, and it cannot nor should it be required that the originator of any spectrum, should be held accountable for ones action, intended or not.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Whether this is end-user problem or otherwise I thank Slix for mentioning this.
As a new user I would've thought it reasonable that admin could not delete itself, to me that would seem logical and I have no idea why admin would want to do that. But then again as admin is usually first on the members list I suppose it is logical that delete all means exactly delete all!
As to which logic is more logical, or rather acceptable, I guess it's a matter of opinion.
Nevertheless, this is why I like reading these forums, to pick up these interesting tidbits.
|
:) LOL, that didnt really happen, but that is what i liken this complaint to, that you should be prompted for your every action. end-user errors are the greatest cause of all situations, accidentally or on purpose, and it cannot nor should it be required that the originator of any spectrum, should be held accountable for ones action, intended or not.
I'd liken it to having "My Site" added to the list of modules in site Tools, actually. So that you could potentially uninstall your entire site while uninstalling a module. There's no reason for it.
But then again I don't think there should be an additional "are you really, REALLY sure you want to do this notice." I think that the checkbox next to the admin should be grayed out and unable to even be checked. At least for the User 1 admin.
|
simple solution for this, every time you access admin panel, go to tools/database backup, and backup entire database. This takes only 1 min Custom Dolphin Development and Support, Professional Mods | http://www.boonex.com/unity/Adminmysite |