Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn the file manager into per user style system #36

Open
illuminate3 opened this issue Jan 27, 2017 · 3 comments
Open

turn the file manager into per user style system #36

illuminate3 opened this issue Jan 27, 2017 · 3 comments

Comments

@illuminate3
Copy link

I was wondering how would you go about turning the file manager into per user style system.

Basically, I'm thinking of allow users to upload their own avatar or something but I don't want other users to be even able to see who else is in the system.

@neil-jennings
Copy link
Contributor

We do have plans to make it easy to add custom permissions, but currently without modifying the file manager config directly you can't do it through extending Coaster.

At the moment there is a basic access check added to the main config file /public/coaster/filemanager/config/config.php.

And a slightly more custom view/edit check added to per directory config files.
/public/uploads/{dir}/config.php

The best way for now I think would be to add something in these files to do per user checks.

@chadanuk
Copy link
Contributor

You can also set the following session vairable which will limit the filemanager to a folder:
$_SESSION["RF"]["subfolder"] = $path_to_folder;

@illuminate3
Copy link
Author

Thanks, I'll take a look at those ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants