guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jumper (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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:

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

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
(v6.3.4#6332)

Mime
View raw message