| ... | ... |
@@ -42,7 +42,7 @@ class MemberListener {
|
| 42 | 42 |
*/ |
| 43 | 43 |
public function onListSecureDownloadsOperationCallback(array $row, ?string $href, string $label, string $title, ?string $icon, string $attributes, string $table, array $rootRecordIds, ?array $childRecordIds, bool $circularReference, ?string $previous, ?string $next, DataContainer $dc) |
| 44 | 44 |
{
|
| 45 |
- if (!$this->User->isAdmin && !$this->User->hasAccess('edit','sec_dl_access'))
|
|
| 45 |
+ if (!$this->User->isAdmin && !$this->User->hasAccess('tl_member_secureDownloads::ctime','alexf'))
|
|
| 46 | 46 |
{
|
| 47 | 47 |
return ''; |
| 48 | 48 |
} |