Fix user permissions