You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brent N Atkinson (JIRA)" <ji...@codehaus.org> on 2010/04/08 04:06:23 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=217091#action_217091 ] 

Brent N Atkinson commented on CONTINUUM-2003:
---------------------------------------------

Brett, I believe we chatted about this a couple months ago. It requires upgrading to a patched version of redback in *both* products to fully address the issue. This was a redback struts2-integration bug. I just recently created the placeholder issue to ensure that archiva and continuum are updated.

I want to make this explicit in case any users end up here: 

To escape this bug you need to run versions of archiva *and* continuum that include a fix. If either product is unpatched, as soon as you edit roles using the unpatched product you'll delete the roles for the other product. I've been running multiple installations (archiva 1.3/continuum 1.3.5) without issue using the patch referenced in REDBACK-253.

> 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, 1.3.5 (Beta)
>         Environment: OS: Linux
> Deployed withing Tomcat and MySQL database
>            Reporter: David Degardin
>             Fix For: Backlog
>
>
> 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