User permissions.
Merge pull request #2 from peeterkask/master

User permissions.