Fix issue with user permissions