Bug 597986

Summary: Owner should be able to take back a loaned machine
Product: [Retired] Beaker Reporter: Petr Šplíchal <psplicha>
Component: inventoryAssignee: Raymond Mancy <rmancy>
Status: CLOSED NOTABUG QA Contact: Petr Šplíchal <psplicha>
Severity: medium Docs Contact:
Priority: high    
Version: 0.5CC: bpeck, ebaak, kbaker, mcsontos, ohudlick, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-17 09:48:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Šplíchal 2010-05-31 07:33:19 UTC
Description of problem:

If the owner of a machine loans it to a user who then takes it,
it's not possible for the owner to take the machine back.

Version-Release number of selected component (if applicable):
Version - 0.5.40 

Steps to Reproduce:
1. owner loans to a user
2. user takes
3. owner clicks "returns loan"
  
Actual results:
Machine still belongs to user, no "take" or "return" link
available, owner cannot reboot/provision...

Expected results:
The owner can take the loaned machine back and do whatever he
needs to do with it.

Additional info:
Or, if that's expected behavior, this should be well documented.

Comment 1 Raymond Mancy 2010-08-12 01:45:36 UTC
I can't replicated this on my devel env. 
Can you double check that this behaviour exists on the current version of beaker?

Thanks.

Comment 2 Petr Šplíchal 2010-08-17 09:48:16 UTC
I've checked the behavior and can confirm that it now works fine.
Thanks for the fix! ;-)