← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596060] [NEW] Project panel doesn't handle race conditions for roles

 

Public bug reported:

Suppose we have two users A and B. A uses Horizon and B uses the CLI.

Sequence:
1. User A opens the 'Manage Members' modal for Project X.
2. User B uses the CLI to make changes to roles in Project X.
3. User A saves changes made in the modal.

Expected outcome: User A is either warned of User B's changes OR User A's changes only update the roles that User A modified.
Actual outcome: User B's changes are completely overwritten.

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  Suppose we have two users A and B. A uses Horizon and B uses the CLI.
  
  Sequence:
  1. User A opens the 'Manage Members' modal for Project X.
  2. User B uses the CLI to make changes to roles in Project X.
  3. User A saves changes made in the modal.
  
  Expected outcome: User A is either warned of User B's changes OR User A's changes only update the roles that User A modified.
- Actual outcome: User B's changes are completely overwritten since User A's changes is a complete update of the roles in the project.
+ Actual outcome: User B's changes are completely overwritten.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1596060

Title:
  Project panel doesn't handle race conditions for roles

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Suppose we have two users A and B. A uses Horizon and B uses the CLI.

  Sequence:
  1. User A opens the 'Manage Members' modal for Project X.
  2. User B uses the CLI to make changes to roles in Project X.
  3. User A saves changes made in the modal.

  Expected outcome: User A is either warned of User B's changes OR User A's changes only update the roles that User A modified.
  Actual outcome: User B's changes are completely overwritten.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1596060/+subscriptions


Follow ups