cloudcmd icon indicating copy to clipboard operation
cloudcmd copied to clipboard

Feature Request: User Permission system

Open Ry-DS opened this issue 4 years ago • 5 comments

Hey @coderaiser, great job with cloudcmd!

I've been using the program for a few years now and it's a remarkable tool for complex file operations on my headless server. Thank you for your incredible work on the project ❤️

Now, I've arrived at this special use case where I want to share access to my server with others so they can add question JSON files for this full-stack education program I'm writing. My server will host the test environment and the idea of them just simply logging on and adding questions to rapidly test sounds like the kind of simplicity I could use right now.

It got me thinking, a user/permission system for cloudcmd would be amazing, allowing people to share access to their server without the worry it'll be on fire the next day.

These are the permissions I've thought of so far:

  1. Ability to edit settings
  2. Ability to add new users
  3. Access to only one directory and all its sub-directories
  4. Read-only
  5. Ability to access console

Possible extension of this feature:

  1. File log to track changes made to files by various users.

Of course, this feature is a big ask. However, if you think it's worth the time, I'd be happy to help make it a reality. Just a quick idea of the stack, prerequisites and where the foundations are in the code and I'll be on it 🙌

Ry-DS avatar Mar 19 '20 08:03 Ry-DS

I've been using the program for a few years now and it's a remarkable tool for complex file operations on my headless server. Thank you for your incredible work on the project heart

First of all, it's very pleasant to read this, I'm glad that Cloud Commander, can be useful :).

Now, I've arrived at this special use case where I want to share access to my server with others so they can add question JSON files for this full-stack education program I'm writing.

There is a very good idea, a lot of people want this feature, and a good place to start with is using configManager. Could you please try to use Cloud Commander as a middleware, and check what is missing to use it for a multi-user access? And we will think what can be improved to make this possible :).

For a long time Cloud Commander moves forward to provide it's functionality as API to make other people to have ability to build it's own file manager from provided build-blocks, so any initiative that makes us closer to this are welcomed :).

coderaiser avatar Mar 20 '20 08:03 coderaiser

There is a very good idea, a lot of people want this feature, and a good place to start with is using configManager. Could you please try to use Cloud Commander as a middleware, and check what is missing to use it for a multi-user access? And we will think what can be improved to make this possible :).

For a long time Cloud Commander moves forward to provide it's functionality as API to make other people to have ability to build it's own file manager from provided build-blocks, so any initiative that makes us closer to this are welcomed :).

Sounds good! I'll try out the middleware and see how we can tackle this. I'm a little confused on the idea of using cloud commander - a stand-alone file manager - as middleware. Is it so people can add a file manager to their applications or to build their own filemanager entirely?

Ry-DS avatar Mar 23 '20 04:03 Ry-DS

I'm a little confused on the idea of using cloud commander - a stand-alone file manager - as middleware. Is it so people can add a file manager to their applications or to build their own filemanager entirely?

Both things are possible :)

coderaiser avatar Mar 23 '20 13:03 coderaiser

@SimplyBallistic do you have any progress on this :)?

coderaiser avatar Apr 03 '20 15:04 coderaiser

@SimplyBallistic do you have any progress on this :)?

I got a chance to explore the codebase and set up my environment but other than that, haven't dove too deep into development.

I have a pretty busy April but afterwards I'll likely find time to give this a good shot 🙌🏾

Ry-DS avatar Apr 05 '20 14:04 Ry-DS