Set user permissions.