Odometer updation is only available to Admin. Why?

Hi Anton,

Why can't manager edit the odometer? Is there any specific reason?

Anton Tananaev7 years ago

There is no specific reason for it. When we implemented it there was no manager role.

OK, thanks.

So, will you rewrite this API in future?

Anton Tananaev7 years ago

You can submit a feature request for it. Or even better if you can contribute this change yourself.

OK, wrote the code for Admin or Manager .

One more thing, We can also give the permission to Users but that will be a clumsy thing to check Read only or Device Read only for each user or setup an attribute ( setOdometer ) to user model. But it can be a requirement for the users who have their personal vehicles. So, should we consider it?

Anton Tananaev7 years ago

I think we should avoid it for now until someone asks for it.