add test batches
This commit is contained in:
@@ -35,16 +35,16 @@ class UserRoleService
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($crudAction === 'create' && ! empty($row->can_create)) {
|
||||
if ($crudAction === 'create' && !empty($row->can_create)) {
|
||||
return true;
|
||||
}
|
||||
if ($crudAction === 'read' && ! empty($row->can_read)) {
|
||||
if ($crudAction === 'read' && !empty($row->can_read)) {
|
||||
return true;
|
||||
}
|
||||
if ($crudAction === 'update' && ! empty($row->can_update)) {
|
||||
if ($crudAction === 'update' && !empty($row->can_update)) {
|
||||
return true;
|
||||
}
|
||||
if ($crudAction === 'delete' && ! empty($row->can_delete)) {
|
||||
if ($crudAction === 'delete' && !empty($row->can_delete)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user