linagora / twake-drive

The open-source alternative to Google Drive.
GNU Affero General Public License v3.0
46 stars 14 forks source link

[Improvement] Make buttons Create and Upload inactive, when the user is anywhere but My Drive #503

Open tprudentova opened 2 months ago

tprudentova commented 2 months ago

If the user can't Create/upload in some part of the drive, those buttons should be inactive

https://github.com/linagora/twake-drive/assets/97684890/721f0821-da08-4fc2-a77d-e950194ff2b1

shepilov commented 1 month ago

@tprudentova is it ok if you will disable them when you don't have permissions? I don't like jumping buttons when you navigate in the application, or we can move them somewhere at all @Bobpodvalnyi what do you think?