This should fix the problem:
https://github.com/traccar/traccar-web/commit/7024b8536708d9ba59be6bbde03af73de8ba7a4e
Thank You
I tried this fix on my Traccar 6.11.1 server using the latest preview web version, but the issue is still the same.
I also upgraded to the preview Traccar version and tested again, but device expiration is still not editable for Manager users.
So unfortunately, this fix does not seem to be working on my setup.
How did you test it exactly?
I installed the preview version of Traccar and tested it again.
I created a Manager user with device limit (100) and user limit (100). In the permissions section, I did not select any specific permissions (left everything unselected).
Then I logged in with the Manager account and tested:
User creation
Device creation
Device assignment
User expiration setting
Device add/delete
Everything is working fine except device expiration.
The Manager is still unable to set or edit the device expiration date. Even while editing a device, the expiration field is not visible or editable.
So the issue still persists on my side, even with the preview version.
Is there any specific permission that needs to be enabled for device expiration, or is this fix not fully applied yet?
I don't think preview version has it.
I created a Manager user in Traccar with:
The manager is able to:
However, the manager cannot set or edit the expiration date for devices. Only the Admin account can do that.
So in the Manager role, user expiry is available, but device expiry is not.
Is there any way or configuration to allow the Manager to also set device expiration dates for the devices they create and manage?