[T5632] add permissions to the leave importer.

Merged Joel Maglioni requested to merge T5632 into 17.0-stage

Merge request reports