Page 1 of 1
Prevent accidental deletion.
Posted: Tue Jan 29, 2013 12:32 pm
by Ixo
Hi why there is no feature like that in Mikrotik? Just right click whatever, press 'Prevent accidental deletion' and then if you click by mistake on '-' you don't screw the whole network.
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 12:32 pm
by normis
the feature is called "Safe Mode". Use that button more often
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 12:52 pm
by Ixo
Safe mode it's not what I am asking for. As far I concern 'Safe mode' is preventing from deleting anything. I want to only mark 1 or 2 things and have free will about the rest.
BTW: Safemode button? Where is this in Winbox?
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 12:53 pm
by normis
You want Windows approach, to ask every time "Are you sure you want to do this? Yes/No/Cancel"
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 12:59 pm
by Ixo
No I don't want windows yes/no...
You mark one thing with PAD, that think I don't know goes 'orange' or whatever ... and then when select it and press "-" or press "-" on webUI the option just stays there, nothing happens.
Edit: So to delete you need to first right click, deselect PAD and then delete it.
Found SafeMode button in winbox
Was never looking up tbh.
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 1:02 pm
by normis
Accidental deletion can be undone with the "Undo" button in Winbox, or Undo command in console.
If you want to be protected against connection loss, use Safe Mode in addition to Undo command.
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 1:15 pm
by Ixo
OK, here is the example.
1. Log in to Winbox.
2. Go to Bridge.
3. Accidentally delete bridge.
4. Winbox will log you out straightaway.
5. If you are within the same network, you can login using MAC and press undo, otherwise take a helicopter and fly to the mountain 800m above the sea level.
6. Lets say u are on the same network, so you are able to get into that routerboard on MAC, you press Undo.
7. Bridge pops in.
7a. When I tried that, Mikrotik behaved very weirdly, I couldn't access most of things. Restarted winbox, and could not see that mikkrotik under 'browse', waited 5 mins and repowered this routerboard to finally get in (flying again?)
8. When I got in, Bridge was there, Ports were designated, however DHCP under bridge was RED.
Still think I ask for "undo" button?
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 2:31 pm
by normis
for the described situation, Safe Mode will save you.
1. Log in to Winbox and ENABLE SAFE MODE
2. Go to Bridge.
3. Accidentally delete bridge.
4. Winbox will log you out straightaway
5. Safe mode detects missing connection, does "UNDO" command automatically
6. Winbox connection restored.
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 2:59 pm
by Ixo
This is what happens.
1. Logging in to Winbox.
2. Pressing "safe mode"
3. Accidentally deleting "bridge1"
4. Logs me out.
5. RouterOS loses IP address... so winbox shows 0.0.0.0
6. I take the helicopter
Never mind ... I see u take my feature request to be unnecessary, so let it be.
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 3:04 pm
by normis
Ixo that is not correct. Please try yourself. After winbox loses connection, wait some 10-20 seconds and everything will be automatically restored!
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 3:36 pm
by normis
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
Prevent accidental deletion.
Posted: Tue Jan 29, 2013 3:45 pm
by TrollMan
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
That would be great. I accidentally removed a VPN link and it took 30 minutes to get all red fw mangle, nat, dhcp and so on back . Thought I pressed comment but hit remove
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 3:51 pm
by ditonet
IMHO, if this 'lock' will also prevent accidental rule move and rule change, it will be nice and useful feature.
Regards,
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 6:38 pm
by maximan
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
Nice +1
M
Re: Prevent accidental deletion.
Posted: Tue Jan 29, 2013 8:57 pm
by silviod24
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
Nice +1
M
I would like +1
Silvio
Re: Prevent accidental deletion.
Posted: Wed Jan 30, 2013 2:12 am
by Lakis
+ 1 billion for that I ask for this long time ago
Prevent accidental deletion.
Posted: Wed Jan 30, 2013 2:55 am
by cbrown
Great idea. +1
Re: Prevent accidental deletion.
Posted: Wed Jan 30, 2013 12:28 pm
by JJX
Lock button would be nice
We all press some button accidentally some times
Re: Prevent accidental deletion.
Posted: Fri Feb 01, 2013 9:45 pm
by chapex
I join the motion
+1
Re: Prevent accidental deletion.
Posted: Fri Feb 01, 2013 11:00 pm
by karina
+1 here also, will be a life saver.
Re: Prevent accidental deletion.
Posted: Sat Feb 02, 2013 5:47 pm
by yogii
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
+1. how about post login winbox, all rules are locked? we have choose rules to unlocked first for edit.
Re: Prevent accidental deletion.
Posted: Sun Feb 03, 2013 4:14 am
by matt
What about an option for a system lock and or indervidual interfaces such as Virtual AP, WDS interface, VLAN, firewall rule, ip address, route etc etc etc?
Re: Prevent accidental deletion.
Posted: Sun Feb 03, 2013 1:50 pm
by InoX
why don't you all use Undo button after you delete something?
Prevent accidental deletion.
Posted: Sun Feb 03, 2013 3:45 pm
by cbrown
why don't you all use Undo button after you delete something?
That's not entirely my thought for it. I want to lock the rules so others know not to touch them and can't accidentally remove them.
So in these situations undo won't work. The way I work around this now is a very good backup system.
Re: Prevent accidental deletion.
Posted: Mon Feb 04, 2013 10:08 am
by hel
Lock entries deletion is absolutely useful.
Re: Prevent accidental deletion.
Posted: Mon Feb 04, 2013 10:13 pm
by danielillu
We can also make something like this -
1. click any rule or item
2. click "lock" icon
3. removing of rule now impossible, shows "item locked"
4. click "unlock" to modify this item
Is anybody else interested in such functionality?
lock.jpg
That would be perfect!
What I usually miss is the ability to absolutely lock interfaces from being disabled (typical error disabling the interface you are connected through), deleted (in case of bridge, vlan, tunnelings) or reconfigured.
Well... and could it be possible not to have the "Reset Configuration" available via GUI?
Re: Prevent accidental deletion.
Posted: Tue Feb 05, 2013 5:14 pm
by elgrandiegote
I would like +1
Diego
Re: Prevent accidental deletion.
Posted: Thu Feb 21, 2013 2:59 pm
by victorlu18
Interesting choice to spare more work because of an accident.
Re: Prevent accidental deletion.
Posted: Wed Feb 27, 2013 7:49 pm
by machack
That would be great. +1
Re: Prevent accidental deletion.
Posted: Thu Feb 28, 2013 10:15 am
by normis
IMHO, if this 'lock' will also prevent accidental rule move and rule change, it will be nice and useful feature.
Regards,
you can't prevent other rules from being moved in front of this rule, causing it to be moved down/up
Re: Prevent accidental deletion.
Posted: Thu Feb 28, 2013 10:40 am
by ronix
very Interesting & helpful ...
Re: Prevent accidental deletion.
Posted: Thu Feb 28, 2013 11:24 am
by ditonet
you can't prevent other rules from being moved in front of this rule, causing it to be moved down/up
That's true, but rule change prevention will be nice feature.
Regards,
Re: Prevent accidental deletion.
Posted: Thu Feb 28, 2013 1:57 pm
by stmx38
+1 !
Re: Prevent accidental deletion.
Posted: Mon Dec 05, 2022 5:42 pm
by easyyu
Accidental deletion can be undone with the "Undo" button in Winbox, or Undo command in console.
If you want to be protected against connection loss, use Safe Mode in addition to Undo command.
Thank you very much!
You saved me hours with command.
btw: I couldn't find this command in Winbox but just in the Terminal window.
Re: Prevent accidental deletion.
Posted: Mon Dec 05, 2022 6:02 pm
by anav
Where is the Normis dangled carrot of lock for rules......... Such a tease!!