You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "David Degardin (JIRA)" <ji...@codehaus.org> on 2009/08/11 18:14:59 UTC

[jira] Reopened: (CONTINUUM-2003) Edit roles deletes all existing roles when sharing a user database

     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Degardin reopened CONTINUUM-2003:
---------------------------------------


Hello,

I've installed Archiva-1.2.1 this morning and it seems that the bug is back (not so sure it has already disappeared actually...)
I've got continuum-1.2.2 and archiva-1.2.1 sharing the same users database.

For example, giving "Repository Manager" role in Archiva to a user that already has other continuum roles will delete its continuum roles (i.e user becomes only repository manager).
Same thing for continuum: giving new continuum roles in continuum deletes archiva roles.

This is fully repeatable.

David

> Edit roles deletes all existing roles when sharing a user database
> ------------------------------------------------------------------
>
>                 Key: CONTINUUM-2003
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2003
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.2.2
>         Environment: OS: Linux
> Deployed withing Tomcat and MySQL database
>            Reporter: David Degardin
>            Assignee: Brett Porter
>
> Hi,
> I've installed continuum-1.2.2 and archiva-1.1.3. For both, I'm using the same "users" database schema as i do not want to create accounts twice. When I edit roles in continuum, it first deletes existing roles then add all checked roles. But, the user can also be an "Archiva repository manager" for example. So, if I want to add roles to a user, I have to do it manually, playing SQL script on DB, otherwise Archiva roles are removed.
> Note that this is the same for Archiva (editing roles in Archiva removes roles for Continuum if database is the same).
> To reproduce:
>  - install continuum and archiva and give them the same schema for users
>  - create a user
>  - give him some roles in archiva
>  - go in continuum, give him some roles and submit
>  - archiva roles are removed 
> David

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira