fixing mock user permissions