Bug 1023900 - [RFE] Allow groups to be disabled
Summary: [RFE] Allow groups to be disabled
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.14
Hardware: Unspecified
OS: Unspecified
low
low vote
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-28 09:42 UTC by wangjing
Modified: 2020-05-20 08:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Cause: Consequence: Fix: Result:
Clone Of:
Environment:
Last Closed: 2020-05-20 08:13:42 UTC


Attachments (Terms of Use)

Description wangjing 2013-10-28 09:42:23 UTC
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:

Comment 2 Amit Saha 2013-10-29 00:43:57 UTC
(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.

Comment 3 Nick Coghlan 2013-10-29 02:15:32 UTC
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)

Comment 4 wangjing 2013-10-29 02:27:16 UTC
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!

Comment 5 Nick Coghlan 2013-10-29 03:07:16 UTC
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.

Comment 6 Raymond Mancy 2013-10-29 10:28:42 UTC
(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!


Note You need to log in before you can comment on or make changes to this bug.