elrido / ZeroBin

This Project has been renamed and moved to
https://github.com/PrivateBin/PrivateBin
Other
85 stars 8 forks source link

Suggestion : checkbox to disable "cloning" of paste for expiring pastes #34

Closed Draky50110 closed 9 years ago

Draky50110 commented 9 years ago

Hello.

Just managed to convert a 0.19 to 0.21 :D

So a little suggestion : when I create an expiring paste, I don't see the interest of having a "clone" button. If I set up a limited time, it is not to permit people to replicate it lol So maybe an option (checkbox) to disable this clone button, but only when a limited time is choosen, which mean the checkbox will not be available if you choose "never expires". Not sure if possible.

Hexalyse commented 9 years ago

Uuuh, anyway the clone button is just an "helper", because even if you don't display a clone button, when people see something, people can replicate something. Selecting and copying is just as easy as clicking "clone". But, yes, I never really got the point of the "Clone" button.

elrido commented 9 years ago

@Draky50110 Cool, great to hear that!

Sure, lets make it a configurable feature for the server admin. But I think its misleading to let visitors disable it, since they might think its a security feature, while the content can still be copied.

I think the original intent was that since you can't change the original text (say, you are exchanging a snippet of code with someone or a proposed text to be sent or published) then you would just clone it, change it and send the link back, etc.

I personally use it mostly as a replacement for a preview feature: If I did a mistake and my paste does not look like it should I can clone and change it again. Another ZeroBin user had recently mentioned the lack of a preview feature... I'm creating a separate issue for that.

Draky50110 commented 9 years ago

Ok, I understand :)

elrido commented 9 years ago

To use this feature, go to section [expire] in conf.ini and set clone to false.