← All permission categories

Admin Storage Sense

2 permissions in this category.

No permissions match.

admin.storage_sense.manage

Constant: ADMIN_STORAGE_SENSE_MANAGE

Run Storage Sense cleanup actions

admin.storage_sense.view

Constant: ADMIN_STORAGE_SENSE_VIEW

View Storage Sense insights and cleanup candidates

Usage

use App\Permissions;
use App\Helpers\PermissionHelper;

if (PermissionHelper::hasPermission($userUuid, Permissions::ADMIN_STORAGE_SENSE_MANAGE)) {
    // admin.storage_sense.manage
}