GET (fetch) all managers by admin

james katwere5 years ago

Hello Anton,
Again a great thanks to you and the traccar team, happy holidays.
Based on Traccar 4.2 API Reference, does the current users endpoint contain parameters to fetch a list of all managers by the admin? Before i start fumbling with:

UserResource and UsersManager classes

If not, how best would it be implemented, a hint perhaps. Thanks

Anton Tananaev5 years ago

I don't think there's a way to get just managers.

james katwere5 years ago

Thanks for the reply.
Let me try to figure out about how I can borrow from

UserResource and UsersManager classes

on implementing it on the server end. Or client side logic which I suspect will be messy.

Sharma5 years ago

how to admin user access again
Admin or manager access required - SecurityException (UserResource:61 < ...) how can be access again for
permission button is enabled

Sharma5 years ago

Please help me
how to traccar login for admin but click
settings>account>permission button is all column is grayed and admin checkbox is not clicked
so i can be access again admin