Make permissions better
Merge pull request #8 from marcingy/pub-172

Make permissions better