[T3756] add sudo for write methods.

Merged Joel Maglioni requested to merge T3756 into 15.0-tommasi

Merge request reports