8000 Moving to Sub-Folders · Issue #758 · UniSharp/laravel-filemanager · GitHub
[go: up one dir, main page]

Skip to content

Moving to Sub-Folders #758

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

Open
LucyTurtle opened this issue Feb 13, 2019 · 1 comment
Open

Moving to Sub-Folders #758

LucyTurtle opened this issue Feb 13, 2019 · 1 comment
Labels
enhancement Optimization for existing features.

Comments

@LucyTurtle
Copy link
LucyTurtle commented Feb 13, 2019

Hello,

I am using this config handler to make it so I can have an admin folder with access to all user's folders.

<?php

namespace App\Handlers;

class LfmConfigHandler extends \UniSharp\LaravelFilemanager\Handlers\ConfigHandler
{
    public function userField()
    {
        if( auth()->user()->role_id <= 2 ) {
        	return 'users';
        } else {
        	return 'users/' . auth()->user()->first_name . '-' . auth()->user()->last_name;
        }
    }
}

This is making it so that it is impossible to move to sub-folders as an admin since the 'move' menu doesn't show sub-folders of sub-folders. Hopefully we could see more hirarchy in the move menu so we can move to more locations.

@streamtw streamtw added the enhancement Optimization for existing features. label Apr 19, 2024
@patacra
Copy link
patacra commented May 13, 2025

It would be good to close this issue and point to issue #1179, where I have added a comment and pointed out what we have to change. This will avoid having several issues about the same topic (issue #1147 and #964 are also about this topic).

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

No branches or pull requests

3 participants
0