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

disabledCommands doesn't work #126

Open
altynbek07 opened this issue Dec 4, 2018 · 1 comment
Open

disabledCommands doesn't work #126

altynbek07 opened this issue Dec 4, 2018 · 1 comment
Labels

Comments

@altynbek07
Copy link

altynbek07 commented Dec 4, 2018

Здравствуйте @MihailDev . В конфигурации контроллера, в свойство disabledCommands я добавил ['archive', 'mkdir', 'netmount', 'rename', 'rm']. Но в действительности отключились только архивирование и переименование, а создание папки и удаление все равно работает.
elfinder 2 0 2018-12-04 15-32-55

'elfinder-user' => [
                        'class' => 'mihaildev\elfinder\PathController',
                        'disabledCommands' => ['archive', 'mkdir', 'netmount', 'rename', 'rm'], 
                        'access' => ['member'],
                        'root' => [
                            'class' => 'mihaildev\elfinder\volume\UserPath',
                            'path'  => 'uploads/user_{id}',
                            'name' => 'Uploads'
                        ],
]
@MihailDev MihailDev added the bug label Dec 27, 2018
@FearLycan
Copy link

hello @altynbek07 did you solve this problem?

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

No branches or pull requests

3 participants