Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Lock Files & Folder

Muah edited this page Jul 19, 2019 · 21 revisions

SqLite Must Be Installed.

 

v3.2.9

a migration file is added for those who dont like to use sqlite, all you need to do is

  • after installation use php artisan migrate
  • remove storage/logs/MediaManager.sqlite
  • under config/database.php add a new connection
'mediamanager' => [
      'driver'   => 'mysql', // or whatever you want
      'database' => env('DB_DATABASE'),
      'host'     => env('DB_HOST', '127.0.0.1'),
      'port'     => env('DB_PORT', '3306'),
      'username' => env('DB_USERNAME', 'forge'),
      'password' => env('DB_PASSWORD', ''),
]

A new option for locking file/folder was added which basically disable move/rename/delete/edit for that item, if the item was a folder you won't be able to move items into it as well BUT you still can move to its nested folders.

Notes

  • locking a folder doesnt lock its content, which means you can still do any operation on any of its childrens.

  • folder with locked items cant be deleted until all of its content are unlocked.

Clone this wiki locally