mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #189] [MERGED] feat: add groupDestroy command for owners #300
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#300
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/189
Author: @speed47
Created: 5/31/2021
Status: ✅ Merged
Merged: 6/2/2021
Merged by: @speed47
Base:
master← Head:groupDestroy📝 Commits (2)
99663e9feat: add groupDestroy command for owners3b700e9fix: connect.pl: decode 2K bytes of the ttyrec instead of 1K to not miss messages📊 Changes
9 files changed (+134 additions, -27 deletions)
View changed files
📝
bin/helper/osh-groupDelete(+21 -14)➕
bin/plugin/group-owner/groupDestroy(+81 -0)➕
bin/plugin/group-owner/groupDestroy.json(+9 -0)📝
bin/plugin/restricted/groupDelete(+3 -0)📝
bin/shell/connect.pl(+2 -2)📝
doc/sphinx/plugins/group-owner/index.rst(+1 -0)📝
doc/sphinx/plugins/restricted/groupDelete.rst(+3 -0)📝
etc/sudoers.group.template.d/500-base.sudoers(+5 -0)📝
tests/functional/tests.d/350-groups.sh(+9 -11)📄 Description
This command deletes a group, as
groupDeletedoes, but worksfor owners so that they can delete their own group.
groupDeleteremains as a restricted command, able to delete any group.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.