Comments (11)
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.
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.
I see now, may be interesting feature.
Do you want to implement it with a new PR?
from richfilemanager.
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.
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.
Of course if you both work on the same connector.
from richfilemanager.
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.
That's would be great.
He, also made a number of modifications in JS file, which I have to review anyway.
from richfilemanager.
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.
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.
@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)
- how to prevent right click event
- No thumbs HOT 3
- Excel Sheet file view and edit
- No thumbs in laravel project
- Flash file not able to upload HOT 1
- Cannot hook on Rename
- Can we expand all the folder from s3 using single request??? HOT 1
- Copy a folder create 0 byte file in S3
- Failed to resize image (original, thumbnail) on the server
- E_INVALID_PAR_TYPE error while loading HOT 2
- How can I hook into the download action? Is there a callback available?
- RichFilemanger Fails to run under IIS HOT 1
- Use RichFilemanger in .Net Core 3.1 project HOT 1
- Deleted
- Uncaught (in promise) ReferenceError: purl is not defined
- Load other client side configuration manually? (filemanager-config.json) HOT 2
- Preview URL some path items duplicated. HOT 1
- Next/Prev buttons in preview window
- Image broken when preview the uploaded image
- imagesx(): Argument #1 ($image) must be of type GdImage, bool given
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from richfilemanager.