nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.63k stars 532 forks source link

Bug with specifically disabled user doesn't show anywhere #4221

Open Kyogre opened 2 weeks ago

Kyogre commented 2 weeks ago

Steps to reproduce

  1. Create new user. Wait till creation process complete.
  2. Login into teampass manager user or admin user.
  3. For user from step 1 perform Disable > checkbox ticked > Perform.
  4. For user from step 1 perform Delete > checkbox unticked > Perform.
  5. For user from step 1 perform Disable > checkbox ticked or unticked (doesn't matter) > Perform.
  6. User vanishes from the list.

Expected behaviour

User gets disabled status.

Actual behaviour

It is unknown how to enable/restore user back (there are no users section in the recycle bin). I suppose he is deleted for good.

Server configuration

Operating system: RHEL 8.3

Web server: nginx 1.25.4

Database: mariadb 10.11.6

PHP version: 8.1.24

Teampass version: 3.1.2.44

Teampass configuration file: tp.config.php.txt

Updated from an older Teampass or fresh install: fresh install.