jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-2003

Edit roles deletes all existing roles when sharing a user database

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.2, 1.3.5 (Beta)
  • Fix Version/s: 1.3.7, 1.4.1 (Beta)
  • Component/s: Core system
  • Labels:
    None
  • Environment:
    OS: Linux
    Deployed withing Tomcat and MySQL database
  • Complexity:
    Intermediate

Description

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

Issue Links

depends upon

Improvement - An improvement or enhancement to an existing feature or task. REDBACK-253 sharing database not working

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is duplicated by

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-2497 Editing user roles in continuum clobbers archiva redback roles

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Bug - A problem which impairs or prevents the functions of the product. MRM-1369 Editing user roles in archiva clobbers continuum redback roles

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 21/Apr/09 10:54 PM

is this still an issue in 1.3.x?

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

Show
Brett Porter added a comment - 21/Apr/09 10:54 PM is this still an issue in 1.3.x? it should restrict itself to the current application when doing so.
Hide
Permalink
David Degardin added a comment - 24/Apr/09 3:01 AM

No this seems to be resolved.

Show
David Degardin added a comment - 24/Apr/09 3:01 AM No this seems to be resolved.
Hide
Permalink
David Degardin added a comment - 11/Aug/09 11:13 AM

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

Show
David Degardin added a comment - 11/Aug/09 11:13 AM 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
Hide
Permalink
Brett Porter added a comment - 24/Aug/09 10:24 AM

ok, we'll take a look.

Show
Brett Porter added a comment - 24/Aug/09 10:24 AM ok, we'll take a look.
Hide
Permalink
Brent N Atkinson added a comment - 07/Apr/10 9:04 PM

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.

Show
Brent N Atkinson added a comment - 07/Apr/10 9:04 PM 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.
Hide
Permalink
Brett Porter added a comment - 05/Aug/10 7:14 AM

fixed in Redback, thanks Brent!

Show
Brett Porter added a comment - 05/Aug/10 7:14 AM fixed in Redback, thanks Brent!

People

  • Assignee:
    Brett Porter
    Reporter:
    David Degardin
Vote (1)
Watch (1)

Dates

  • Created:
    01/Dec/08 7:06 AM
    Updated:
    01/Feb/11 5:59 AM
    Resolved:
    05/Aug/10 7:14 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.