mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 06:59:41 -08:00
beginning of permission groups export
This commit is contained in:
parent
7ac3341b4f
commit
9770016eec
|
@ -565,12 +565,14 @@ class UsersController extends Controller
|
||||||
trans('general.licenses'),
|
trans('general.licenses'),
|
||||||
trans('general.accessories'),
|
trans('general.accessories'),
|
||||||
trans('general.consumables'),
|
trans('general.consumables'),
|
||||||
trans('admin/users/table.groups'),
|
trans('general.groups'),
|
||||||
trans('general.notes'),
|
trans('general.notes'),
|
||||||
trans('admin/users/table.activated'),
|
trans('admin/users/table.activated'),
|
||||||
trans('general.created_at'),
|
trans('general.created_at'),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
//add if else for admin permissions. the admin permissions will allow a user to see permissions a user has in the export
|
||||||
|
|
||||||
fputcsv($handle, $headers);
|
fputcsv($handle, $headers);
|
||||||
|
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
|
|
Loading…
Reference in a new issue