experiencing some issues with user permissions.

Segads2 years ago

Hello everyone,

We are currently using Traccar to manage our fleet of vehicles, and we are experiencing some issues with user permissions. Specifically, we have a manager user who has a user creation limit of 3, which means that they can only create three more users.

To give this manager user some additional permissions, we remove some permosions like limit commands and device read-only access. However, when the manager user creates new users, these users seem to not inherit all permissions, including the ability to use all commands.

We are wondering if there is a possibility that the permissions granted to the manager user are being inherited by the users they create, especially in terms of limiting commands.

We would appreciate any insights or suggestions on how to resolve this issue and ensure that the permissions of new users created by the manager are restricted to the specified limits.

Thank you in advance for your help.

Anton Tananaev2 years ago

This would need to be implemented in the code. Feel free to create a PR if you manage to implement it. I think it makes sense to inherit some limitations for managers.