Closed rybakit closed 2 years ago
Cite from README:
tube:truncate()
- delete all tasks from the tube. Note thattube:truncate
must be called only by the user who created this tube (has space ownership) OR under asetuid
function. Read more aboutsetuid
functions here.
Raw idea: We can provide an option to control whether appropriate priveleges should be granted for :truncate()
.
So far, I've found the following methods that lack privileges: