Yes, if the user has no connection to the share, a 404 response should be given (the same as with a non-existent share). If the user is in the same project and it knows about the existence through that way already, a 403 seems appropriate.
Yes, if the user has no connection to the share, a 404 response should be given (the same as with a non-existent share). If the user is in the same project and it knows about the existence through that way already, a 403 seems appropriate.