mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 10:50:55 -04:00
working with permissions
This commit is contained in:
parent
5233047ab1
commit
dbdd1ac155
@ -27,7 +27,7 @@ class UserTransformer extends EntityTransformer
|
||||
'notify_paid' => (bool) $user->notify_paid,
|
||||
'notify_approved' => (bool) $user->notify_approved,
|
||||
'is_admin' => (bool) $user->is_admin,
|
||||
'permissions' => $user->permissions,
|
||||
'permissions' => Auth()::user->permissions,
|
||||
];
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user