Odometer updation is only available to Admin. Why?

Parveen Kumar Yadav 8 years ago

Hi Anton,

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

Anton Tananaev 8 years ago

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

Parveen Kumar Yadav 8 years ago

OK, thanks.

So, will you rewrite this API in future?

Anton Tananaev 8 years ago

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

Parveen Kumar Yadav 8 years ago

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 Tananaev 8 years ago

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