Describe the bug
When a client connects to a tactic server using an api such as the tactic_client_lib python api. There is no security for 'admin' and/or 'sthpw' projects.
For e.g. any user who can login to the tactic server without any credentials can query, insert and update sthpw/ticket, sthpw/login, and sthpw/login_in_groups and all other tables, many of which are sensitive to security.
The discussion for this bug has been initiated here
To Reproduce
Steps to reproduce the behavior:
- Login using the python api
tactic_client_lib
- Initiate a query to a sensitive table such as
sthpw/ticket or sthpw/login
- You will be able to view all information, use it or write back to it, including tickets and hashed passwords.
Expected behavior
The intended behavior of security for tactic_client_lib should be a matter of analysis and debate. But the following can be proposed.
- Security should be applied in a manner which has the same effect that is expected on the web interface.
- Users should be able to know which projects they have permissions on.
- Users should be able to query from entries of the
sthpw tables from inside the projects where they have access according to the rules defined.
- Users should not be able to change their own security information except those with appropriate access levels.
Describe the bug
When a client connects to a tactic server using an api such as the
tactic_client_libpython api. There is no security for 'admin' and/or 'sthpw' projects.For e.g. any user who can login to the tactic server without any credentials can query, insert and update
sthpw/ticket,sthpw/login, andsthpw/login_in_groupsand all other tables, many of which are sensitive to security.The discussion for this bug has been initiated here
To Reproduce
Steps to reproduce the behavior:
tactic_client_libsthpw/ticketorsthpw/loginExpected behavior
The intended behavior of security for
tactic_client_libshould be a matter of analysis and debate. But the following can be proposed.sthpwtables from inside the projects where they have access according to the rules defined.