guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jumper (JIRA)" <>
Subject [jira] [Created] (GUACAMOLE-75) Cloning a user results in a blank error dialog
Date Thu, 11 Aug 2016 23:48:20 GMT
Michael Jumper created GUACAMOLE-75:

             Summary: Cloning a user results in a blank error dialog
                 Key: GUACAMOLE-75
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-auth-jdbc
            Reporter: Michael Jumper
            Priority: Blocker

When attempting to create a user using the "Clone" button, clicking "Save" universally results
in a blank error dialog. The underlying error is a unique key violation due to duplicate permission
for the user to read themselves:

Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint
  Detail: Key (user_id, affected_user_id, permission)=(8, 8, READ) already exists.

The code handling saving of permissions within the JDBC auth *should* be saving only unique
permissions ... but apparently is not.

This message was sent by Atlassian JIRA

View raw message