GithubHelp home page GithubHelp logo

Comments (6)

coderaiser avatar coderaiser commented on June 3, 2024

Could you please add more description and maybe screenshots

from cloudcmd.

uqix avatar uqix commented on June 3, 2024

Sorry for late replay.

Since we mount the volume at root fs as readonly, some menu items needs to be hidden like Rename Delete Pack Extract Cut Copy Paster Upload New.

image

from cloudcmd.

coderaiser avatar coderaiser commented on June 3, 2024

Are you up to implement this feature or make a donation?

from cloudcmd.

coderaiser avatar coderaiser commented on June 3, 2024

What should be done is:

  • hide buttons;
  • hide menu items;
  • disable key bindings;
  • disable ability to use any file operation on the backend side (fileop middleware);
  • add command line and config option —-readonly and CLOUDCMD_READONLY, cloudcmd_readonly env variables which enables new behaviour;
  • update Config modal so it supported readonly;
  • update help.json and HELP.md;
  • add tests so nothing break in future;
  • disable all modification API used in restafary, because of possible security vulnerability (when we set flag readonly it should be real readonly, not only UI change)
  • same for editors: dword, edward, deepword: restafary + web sockets, because it will be security breach;
  • dropbox integration;

Also when terminal or console enabled - readonly mode has no effect on it.

Also there is two ways: enable readonly:

  • on reload page in browser;
  • on restart of Cloud Commander;

First way is more user friendly, but all dependencies should know about readonly mode.

from cloudcmd.

coderaiser avatar coderaiser commented on June 3, 2024

I'm not sure it worth implementing if you have read only file system all modification errors will be handled anyways.

from cloudcmd.

coderaiser avatar coderaiser commented on June 3, 2024

Closed due to a long time of inactivity 🏝

from cloudcmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.