Sharing of files should not be allowed with the same account

Description of the bug:

I uploaded one file on my arcana app and then shared it with myself. Was able to do it successfully and even got a success toaster validating the success.
In a platform like arcana built for storage, sharing should not be allowed with the same account itself (just like in google drive/dropbox, etc)

Category/Feature it belongs to:


Detailed Steps to Reproduce:

  1. Upload a file
  2. Share it with the same email Id
  3. You will be able to see the file in shared with me section and also a success toast.

Browser Version:

Google chrome
Version 96.0.4664.55 (Official Build) (arm64)

Supporting Material (Screenshot/Video/Logs):

Thanks for the find! This is indeed a bug and we are working on it. Will update this thread once this issue has been fixed. This bug has been classified as a Low severity and you will be rewarded. Please check DMs regarding prize money, rewards will be processed at the end of the week! :partying_face: