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
  • resources/views/dashboard/folders/index.blade.php

    r1451c6f r190db9f  
    152152                                            <a href="{{ route("dashboard.folders.downloadFolder", ['id' => $folder->id]) }}" class="dropdown-item">Download</a>
    153153                                            @endif
    154                                             @if(auth()->user()->hasPermission('manage_all_folders'))
     154                                            @if(auth()->user()->hasPermission('delete_data'))
    155155                                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#deleteModal_{{$folder->id}}">Delete</a>
    156156                                            @endif
Note: See TracChangeset for help on using the changeset viewer.