|#1379 | +Varun | Adding pre authorize permission checks on create and sync distribution.