We have a document-sharing app where 2 user types can upload documents (like Dropbox).
There are two user roles:
- User role A: Has access to all documents in the folder and can tag some documents as "hidden" from User B
- User role B: Has access to all documents that are not hidden by User type A. (It is not always understood by User role B that some documents will be hidden from them)
If User B tries to upload a file that has exactly same name as a file that he doesn't have rights to, what should happen?
Please note that the software we are using does not allow two files to have the same name. Here are the options I see:
User is given an error "Sorry you cannot upload a file with that name" - this would be confusing the the user because they can't see any reason why not!
User is allowed to upload the file but the file name is automatically given a "(1)" at the end of the name - this would be confusing to User type B