... |
... |
@@ -53,7 +53,7 @@ class MemberSecureDownloadsListener {
|
53 |
53 |
*/
|
54 |
54 |
public function onListEditOperationCallback(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)
|
55 |
55 |
{
|
56 |
|
- if (!$this->User->isAdmin && !$this->User->hasAccess('edit','sec_dl_access'))
|
|
56 |
+ if (!$this->User->isAdmin && !$this->User->hasAccess('tl_member_secureDownloads::ctime','alexf'))
|
57 |
57 |
{
|
58 |
58 |
return '';
|
59 |
59 |
}
|
... |
... |
@@ -72,7 +72,7 @@ class MemberSecureDownloadsListener {
|
72 |
72 |
*/
|
73 |
73 |
public function onListDeleteOperationCallback(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)
|
74 |
74 |
{
|
75 |
|
- if (!$this->User->isAdmin && !$this->User->hasAccess('edit','sec_dl_access'))
|
|
75 |
+ if (!$this->User->isAdmin && !$this->User->hasAccess('tl_member_secureDownloads::ctime','alexf'))
|
76 |
76 |
{
|
77 |
77 |
return '';
|
78 |
78 |
}
|