Ignore:
Timestamp:
11/01/21 11:18:15 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
master
Children:
d95fdd2
Parents:
1451c6f
Message:

edited user permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/Dashboard/FoldersController.php

    r1451c6f r190db9f  
    151151
    152152        $users = User::all();
    153         Notification::send($users, new NewFolderCreated("New folder created"));
    154153
    155154        $folder->location = $location;
     
    246245        }
    247246
    248         if (auth()->user()->hasPermission("delete_all_folders")) {
     247        if (auth()->user()->hasPermission("delete_data")) {
    249248
    250249            foreach ($files as $file) {
Note: See TracChangeset for help on using the changeset viewer.