Bug 644050

Summary: Instance Management: instances launched by non-admin users are listed as started by Admin
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 0.3.1CC: akarol, cpelland, dajohnso, deltacloud-maint, jguiditt, jprovazn, sseago
Target Milestone: alpha   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://10.11.231.218/deltacloud/instance
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 681004    
Bug Blocks:    
Attachments:
Description Flags
instance started by a non-admin user none

Description wes hayutin 2010-10-18 19:56:33 UTC
Created attachment 454199 [details]
instance started by a non-admin user

Instance Management: instances launched by non-admin users are listed as started by Admin

Recreate:
0. login as admin
1. create a template
2. build, launch the instance
3. create a user "foo"
4. log out, login as foo
5. launch the instance as foo.

** notice the "instances by pool" table lists the instance as started by Administrator 

See screenshot

Comment 1 wes hayutin 2010-10-25 19:18:32 UTC
To be clear, this bug is only to address fixing the labels for "Started By"

Comment 3 Scott Seago 2010-10-25 19:30:08 UTC
Actually I think there are two problems here:
1) 'started by' label should be 'created by'
2) it should show 'foo' rather than 'administrator' assuming foo is the one who created the instance

Comment 4 Jan Provaznik 2010-10-26 13:08:04 UTC
commit f37c9db63af038c1d82cd952f379c0cc548145a3
Author: Jan Provaznik <jprovazn>
Date:   Tue Oct 26 15:05:51 2010 +0200

    BZ #644050 - instances launched by non-admin users are listed as started by
    Admin
    
    User object was assigned to id. Also moved name generation into helper.

Comment 5 Jason Guiditta 2010-10-28 21:01:32 UTC
Final version:

commit 2f7fee6943c0f4ca77ef9cd38829b5ca93cf0506
Author: Jan Provaznik <jprovazn>
Date:   Wed Oct 27 15:18:14 2010 +0200

    BZ #644050 - instances launched by non-admin users are listed as started by Admin
    
    User object was assigned to id. Also moved name generation into helper.

Comment 6 Dave Johnson 2011-03-18 17:42:10 UTC
In terms of today's functionality, this is no longer valid however, I believe it is on the way in the short term and this probably needs to stay open until bug 681004 is addressed

Comment 7 wes hayutin 2011-06-14 15:39:31 UTC
moving to on_qa for review

Comment 8 Aziza Karol 2011-07-04 11:08:09 UTC
This functionality no longer valid.

In new UI:
For non-admin users,Instances launch by admin users are just listed and have insufficient privileges to perform action. 

verified on:
[root@snowstorm log]# rpm -qa  | grep aeolus
aeolus-configure-2.0.1-0.el6.20110628141215gitb8aaf85.noarch
aeolus-conductor-daemons-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-all-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-conductor-0.3.0-0.el6.20110701204941gitd66e27c.noarch
aeolus-conductor-doc-0.3.0-0.el6.20110701204941gitd66e27c.noarch
rubygem-aeolus-cli-0.0.1-1.el6.20110701204941gitd66e27c.noarch

Comment 9 wes hayutin 2011-08-01 19:57:15 UTC
release pending...

Comment 10 wes hayutin 2011-08-01 19:58:34 UTC
release pending...

Comment 12 wes hayutin 2011-12-08 13:54:00 UTC
perm close

Comment 13 wes hayutin 2011-12-08 13:56:24 UTC
closing out old bugs