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 2008/12/01 14:07:19 UTC

[jira] Created: (CONTINUUM-2003) Edit roles delete all existing roles

Edit roles delete all existing roles
------------------------------------

                 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


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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-2003:
------------------------------------

    Fix Version/s: 1.x

is this still an issue in 1.3.x?

it should restrict itself to the current application when doing so.

> 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
>             Fix For: 1.x
>
>
> 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

        

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

Posted by "David Degardin (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak updated CONTINUUM-2003:
-----------------------------------

    Affects Version/s: 1.3.5 (Beta)

> 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

        

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

Posted by "David Degardin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174093#action_174093 ] 

David Degardin commented on CONTINUUM-2003:
-------------------------------------------

No this seems to be resolved.

> 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
>             Fix For: 1.x
>
>
> 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

        

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

Posted by "Brent N Atkinson (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak updated CONTINUUM-2003:
-----------------------------------

         Assignee:     (was: Brett Porter)
    Fix Version/s: 1.x

> 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
>             Fix For: 1.x
>
>
> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188311#action_188311 ] 

Brett Porter commented on CONTINUUM-2003:
-----------------------------------------

ok, we'll take a look.

> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed CONTINUUM-2003.
-----------------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.x)

> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-2003:
------------------------------------

    Fix Version/s: 1.3.7

> 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
>            Assignee: Brett Porter
>             Fix For: 1.3.7, 1.4.1 (Beta)
>
>
> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed CONTINUUM-2003.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Backlog)
                   1.4.1 (Beta)
         Assignee: Brett Porter

fixed in Redback, thanks Brent!

> 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
>            Assignee: Brett Porter
>             Fix For: 1.4.1 (Beta)
>
>
> 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

        

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

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak updated CONTINUUM-2003:
-----------------------------------

    Summary: Edit roles deletes all existing roles when sharing a user database  (was: Edit roles delete all existing roles)

> 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
>
> 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