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/files.blade.php

    r1451c6f r190db9f  
    107107                                        </a>
    108108                                            @endif
    109                                             @if(auth()->user()->hasPermission('manage_all_files'))
     109                                            @if(auth()->user()->hasPermission('delete_data'))
    110110                                        <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#deleteModal_{{$file->id}}">
    111111                                            Delete
Note: See TracChangeset for help on using the changeset viewer.