linagora / Twake

Twake is a secure open source collaboration platform to improve organizational productivity.
https://twake.app
GNU Affero General Public License v3.0
1.79k stars 194 forks source link

📁 TDrive - Improve access management popup #2773

Open RomaricMourgues opened 1 year ago

RomaricMourgues commented 1 year ago

A lot of issues are related to lack of clarity in our access management modal, here they are:

To be discussed

    • Manage access to a folder -> access for all members of the company is “No access”
    • Expectation: no other members of the company see the folder
    • Reality: user B from the company has full access to the folder

https://user-images.githubusercontent.com/97684890/223969598-127391e2-0ba1-45f5-8e94-0fc4c0572114.mov

    • Manage access to file/folder -> set access for user B to “Read”
    • Expectation: user B cannot download the file or manage access
    • Reality: user be can download the file and manage access

https://user-images.githubusercontent.com/97684890/223969797-2a998a3a-a173-4d41-8495-991d84f0a568.mov

    • Manage access to a file inside a sub-folder -> inherit parent folder is selected
    • Expectation: the file has same access settings as its parent folder
    • Reality: file has default access settings

https://user-images.githubusercontent.com/97684890/223970017-5b8cf6a6-c219-4bf2-8892-550e8b84e606.mov

This ones are bugs

    • Manage access to a folder -> change access for user B to “No access” and switch to the tab where user B has the Documents tab opened.
    • Expectation: only the folder in question disappears from the space of user B
    • Reality: “Unable to load your files” warning appears and all files and folders disappear for user B. Refreshing the app/page fixes the problem.

https://user-images.githubusercontent.com/97684890/223970533-6da1ca7d-e273-4a0f-9660-613676fb3b27.mov

    • Manage access to public link to folder -> Write -> Copy the link -> follow the link -> Click Upload in the opened tab -> try to upload file
    • Expectation: the file is uploaded to the folder
    • Reality: nothing happens after you try to upload the file, the file isn’t uploaded. Same thing happens when you try to create a version of a file after following a public link

https://user-images.githubusercontent.com/97684890/223970755-a88b6e35-7fb5-4fcf-9933-8130a62e5bf7.mov

RomaricMourgues commented 1 year ago

Fixed

Need design rethink

RomaricMourgues commented 1 year ago

PR status https://github.com/linagora/Twake/pull/2774

RomaricMourgues commented 1 year ago

@tprudentova for the access management waiting for me to improve the clarity, let me explain how it works:

For root and trash, we have special rules depending on if you are guest or not, and admin or not.


This being said, I think we must change the inherit folder and company part, something as simple as "if inherit is on, then company access cannot be restricted", it means the "company has access" will be shown only if inherit is set to off

I'm thinking about clarifying the fact that direct access on user is in priority to the company/inherit access, still thinking about it now.

Finally, you didn't tried it yet but when linking a folder to a chat tab then it works a bit like public sharing for the logic.

tprudentova commented 1 year ago

@RomaricMourgues okay, I think I got you, thank you! Maybe (just a suggestion) we could sort the access options in the order of priority? Like, public link on top, them direct access, then inherit, then all members. I'm not sure whether it's a good way to solve this, but it seems more intuitive to consider things at the top of the list more important. Also, I couldn't find a way to link a folder to a chat... Is this feature not on canary yet or am I just blind? :')

RomaricMourgues commented 1 year ago

To link a folder to a chat open a workspace channel then add a new tab at the top and select "Document" then you'll have it.

Screenshot 2023-03-10 at 10 14 53

tprudentova commented 1 year ago

Ohhhh I see, thank you :)