mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
working with permissions
This commit is contained in:
parent
985c4eda34
commit
5233047ab1
@ -27,7 +27,7 @@ class UserTransformer extends EntityTransformer
|
|||||||
'notify_paid' => (bool) $user->notify_paid,
|
'notify_paid' => (bool) $user->notify_paid,
|
||||||
'notify_approved' => (bool) $user->notify_approved,
|
'notify_approved' => (bool) $user->notify_approved,
|
||||||
'is_admin' => (bool) $user->is_admin,
|
'is_admin' => (bool) $user->is_admin,
|
||||||
'permissions' => $user->getPermissions,
|
'permissions' => $user->permissions,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user