| Summary: | if non admin user deleted "undefined method `name' for nil:NilClass" displayed when clicked on deployments | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Aziza Karol <akarol> | ||||||
| Component: | aeolus-conductor | Assignee: | Imre Farkas <ifarkas> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <ssachdev> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.0.0 | CC: | akarol, athomas, deltacloud-maint, ifarkas, jprovazn, slinaber, ssachdev | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-08-30 17:16:36 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Aziza Karol
2012-01-04 09:26:27 UTC
Created attachment 550639 [details]
err
logically ,if user is deleted then all the details related to that user should also be deleted. What about the running deployments/instances when the non-admin user is deleted? I think that only easy solution is to not allow delete a user if he has any running instances/deployments. This means just adding before_destroy check and keeps us from having any orphans. Patch has been posted: https://fedorahosted.org/pipermail/aeolus-devel/2012-January/008074.html This issue has been fixed. Please verify the commit 5e4204a3482e2ae656ad9205b0e75ee55be1987c aeolus-conductor-0.8.0-7.el6.src.rpm Issue is fixed . Not getting the error any more but in contrast to comment 3 , i am able to delete user. =================================== Created a user , launched instance Deleted user from admin. No error observed. ============================================= rpm -qa|grep aeolus aeolus-conductor-doc-0.8.0-7.el6.noarch rubygem-aeolus-image-0.3.0-2.el6.noarch rubygem-aeolus-cli-0.3.0-3.el6.noarch aeolus-all-0.8.0-7.el6.noarch aeolus-conductor-0.8.0-7.el6.noarch aeolus-configure-2.5.0-4.el6.noarch aeolus-conductor-daemons-0.8.0-7.el6.noarch Created attachment 556178 [details]
delete_user
Verified rpm -qa|grep aeolus aeolus-conductor-0.8.0-8.el6.noarch aeolus-all-0.8.0-8.el6.noarch aeolus-conductor-daemons-0.8.0-8.el6.noarch rubygem-aeolus-image-0.3.0-3.el6.noarch aeolus-configure-2.5.0-5.el6.noarch rubygem-aeolus-cli-0.3.0-4.el6.noarch aeolus-conductor-doc-0.8.0-8.el6.noarch |