Zugriff Redakteur, Kundenhoheit API
This commit is contained in:
parent
570d428b1c
commit
3f1fb9377d
13 changed files with 109 additions and 61 deletions
|
|
@ -15,7 +15,7 @@ class DataTableController extends Controller
|
|||
|
||||
public function getUsers()
|
||||
{
|
||||
$query = User::with('account')->select('users.*')->where('users.deleted_at', '=', null)->where('users.admin', "<", 4);
|
||||
$query = User::with('account')->select('users.*')->where('users.deleted_at', '=', null)->where('users.admin', "<", 10);
|
||||
|
||||
return \DataTables::eloquent($query)
|
||||
->addColumn('first_name', function (User $user) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue