| Issue 44: | Allow deleting groups through the web UI | |
| 64 people starred this issue and may be notified of changes. | Back to list |
Reported by Shawn Pearce <sop@google.com> on Tue Jan 27 15:15:13 PST 2009 Source: JIRA GERRIT-44 Affected Version: 2.0 Users (or at least Administrators) should be able to delete groups through the web UI, especially if the group is never used in a ProjectRight entity and also is not the owner of another group or a project.
Mar 1, 2010
Is there a way to do this until implemented in the web UI?
Mar 2, 2010
Not really. DELETE FROM account_groups WHERE name='...'; DELETE FROM account_group_names WHERE group_id NOT IN (SELECT group_id FROM account_groups); And then you might want to clean up the database a bit to remove the now orphaned records: DELETE FROM account_group_members WHERE group_id NOT IN (SELECT group_id FROM account_groups); DELETE FROM account_group_members_audit WHERE group_id NOT IN (SELECT group_id FROM account_groups); % or project_rights DELETE FROM ref_rights WHERE WHERE group_id NOT IN (SELECT group_id FROM account_groups);
Apr 6, 2010
Perhaps priority of this should be bumped up a bit considering Issue 48 means that any registered user can create "SPAM" groups and there is no way to delete them.
Aug 25, 2010
Any interest in this still?
Aug 26, 2010
Yes, we just need to write it. :-(
May 9, 2011
For my own purpose I created the server side part, it's now easy to link it to a button. I'm not familiar in pushing gerrit code, but I accepted the NDA and stuff. Should I proceed?
May 9, 2011
Docs on submitting patches are here: https://android.git.kernel.org/?p=tools/gerrit.git;a=blob;f=SUBMITTING_PATCHES;h=b44486205eb2705c310c6e65c0e8019e45d03589;hb=HEAD
Status:
Started
May 10, 2011
Thanks for help, done: https://review.source.android.com/#change,22779 Please note that the instruction are missing the important bit about the change-id: http://gerrit.googlecode.com/svn/documentation/2.1.2/user-upload.html#push_create A special hook must be loaded on your local repo if you want to create a new patch so that it will generate inside the commit message the necessary change-id The instructions are also missing the username in the "review" alias. Instead of this: git config remote.review.url ssh://review.source.android.com:29418/tools/gerrit.git It shoud be this: git config remote.review.url ssh://yourusername@review.source.android.com:29418/tools/gerrit.git
Aug 10, 2012
Does this feature have plan? not only I want to delete group from web page, but I want to delete user.
Aug 4, 2015
Is anyone still actively working on this feature? The change from #10 does not seem to exists anymore at least.
Aug 4, 2015
No, AFAIK nobody is working on this.
Status:
New
Oct 28, 2015
It would be great if REST APIs could also support the group deletion in addition to UI. |
|
| ► Sign in to add a comment |
Owner: ---
Labels: -Priority-Trivial Priority-Minor