User permissions #768

Completes redmine #786 .. sorry for typo.