TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

New item with empty password not editable

Open whosht opened this issue 10 months ago • 2 comments

Steps to reproduce

  1. Login
  2. Go to personal folder
  3. Select "New item"
  4. Fill in Label
  5. Click "Save" -> Item is saved
  6. Click Item
  7. Click on "Edit"
  8. Change any field (including password field)
  9. Click "Save" -> Message "You are not allowed to do that!" + Log entry "TEAMPASS | user XXXXXXXX has no sharekey for item YYYY, referer: https://pw.who-ing.local/index.php?page=items"

Expected behaviour

Item should be saved.

Actual behaviour

Item is not saved, instead an error message is displayed and logged

Server configuration

Operating system: Debian 12

Web server: N/A

Database: N/A

PHP version: N/A

Teampass version: 3.1.1 (380c0f6)

Teampass configuration file: N/A

Client configuration

Browser: N/A

Operating system: N/A

Logs

Web server error log

[Wed Mar 20 09:45:14.936985 2024] [php:notice] [pid 207108] [client *.*.*.*:*] TEAMPASS | user ******** has no sharekey for item ****, referer: https://pw.who-ing.local/index.php?page=items

Log from the web-browser developer console (CTRL + SHIFT + i)

Edit 2024-04-02: Forget to mention Teampass version

whosht avatar Mar 27 '24 15:03 whosht