GithubHelp home page GithubHelp logo

Comments (11)

psolom avatar psolom commented on May 17, 2024

What is the purpose of that?
If you want to disable/enable filemanager for some users depending on their role you could implement this in filemanager.php::auth()

from richfilemanager.

fabriceci avatar fabriceci commented on May 17, 2024

To be more granular.

If your app has x group of users and you want to give different rights, for example :

  • User : can access to the FM, select or download a file.
  • Admin : all above + upload/delete files + zip
  • Super admin : all above + unzip files

(by default, the actual case, user has all roles )

from richfilemanager.

psolom avatar psolom commented on May 17, 2024

I see now, may be interesting feature.
Do you want to implement it with a new PR?

from richfilemanager.

fabriceci avatar fabriceci commented on May 17, 2024

Yes, I will do that but before I would like:

  • finish my java connector (maybe merge with the work of @gmkll)
  • see if I can improve the visual with a new more modern theme

from richfilemanager.

psolom avatar psolom commented on May 17, 2024

Great!
Concerning to PR #21, I would like you to communicate with @gmkll. I prefer that one of you take a lead on implementing Java connector to not create a various PR for that purpose. You can create new issue if you need to discuss all the things with him.

from richfilemanager.

psolom avatar psolom commented on May 17, 2024

Of course if you both work on the same connector.

from richfilemanager.

fabriceci avatar fabriceci commented on May 17, 2024

Connectors are very close, but I can't use the @gmkll without modifications. I will open
in the coming days a new issue and discuss with him to see what we will do.

from richfilemanager.

psolom avatar psolom commented on May 17, 2024

That's would be great.
He, also made a number of modifications in JS file, which I have to review anyway.

from richfilemanager.

jlaustill avatar jlaustill commented on May 17, 2024

I have a similar need that I will be implementing into my node connector. In my case, I need to block access to files based upon user roles. So my root folder will have folders for each role, and each request will verify that the user has the role that matches the folders name or they will be denied. This way I can have groups that have private files. I will write it in such a way that it can be easily ignored, aka, opt-in. Node uses a standard user configuration that roles can be added to, I'm not sure how it would work in other connectors except .net. I did this to my current .net connector, but it was horribly messy and non-standard so I never even thought about passing it back as a pull request. My node connector I will, though. I will go to lengths to make it standard compliant and clean.

from richfilemanager.

psolom avatar psolom commented on May 17, 2024

Solved with the RichFilemanager release v2.0.0
See "setAllowedActions()" method called from filemanager.php. Feel free to reopen the issue if you have any advanced ideas on this subject.

from richfilemanager.

hathemi avatar hathemi commented on May 17, 2024

@fabriceci @servocoder is it possible to do to give different rights to user, admin or superadmin,.. with filemanajer.js node connector?

from richfilemanager.

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.