Hide Forgot
Description of problem: can't remove group Version-Release number of selected component (if applicable): beaker-devel Version - 0.14.1 How reproducible: always Steps to Reproduce: 1. Admin->Groups 2. click link 'Remove' of my group 'jingwang', and click 'Yes'. (have deleted all the group jobs of 'jingwang' group) Actual results: message returned 'Cannot delete a group which has associated jobs' Expected results: remove link takes effect or proper messages returned. Additional info:
(In reply to wangjing from comment #0) > Description of problem: > can't remove group > > Version-Release number of selected component (if applicable): > beaker-devel Version - 0.14.1 > > How reproducible: > always > > Steps to Reproduce: > 1. Admin->Groups > 2. click link 'Remove' of my group 'jingwang', and click 'Yes'. > (have deleted all the group jobs of 'jingwang' group) Even though you deleted the job, they are not really deleted from the database. Hence, I believe this is expected behavior. I just verified that deleting a group works.
I thought we had an open RFE for hiding or disabling groups, but it's actually just mentioned as a deferred feature in the enhanced user group proposal: http://beaker-project.org/dev/proposals/enhanced-user-groups.html#deferred-features We ended up creating a usable access policies UI without that ability (based on typeahead rather than a dropdown list), but it would still be good to be able to disable groups (similar to the way we can disable user accounts and lab controllers)
I think it's still a problem because it makes people feel confused when seeing message 'Cannot delete a group which has associated jobs', and why 'Even though you deleted the job, they are not really deleted from the database'? I reopened this bug, if u want to close, pls close WONTFIX/DEFERRED, because *closed NOTABUG* will affect our bug efficiency. thanks!
Converted to an RFE for the group disabling feature. We shouldn't offer the ability to delete groups at all, as the constraints on when they can actually be deleted are just too confusing.
(In reply to wangjing from comment #4) > I think it's still a problem because it makes people feel confused when > seeing message 'Cannot delete a group which has associated jobs', > > and why 'Even though you deleted the job, they are not really deleted from > the database'? > The user should never care whether or not the record still exists in the database. Just as long as the system behaves as if it doesn't exist. > I reopened this bug, if u want to close, pls close WONTFIX/DEFERRED, because > *closed NOTABUG* will affect our bug efficiency. > > thanks!