Fix bug when accessing import and user not authenticated
When the user is not authenticated and we access the import routes, the method `can?` is called on the user but, since it's `nil`, it raises an exception.
Showing
Please register or sign in to comment