mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #172] [MERGED] feat: add filtering options to several commands #290
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#290
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/172
Author: @speed47
Created: 4/8/2021
Status: ✅ Merged
Merged: 5/25/2021
Merged by: @speed47
Base:
master← Head:implicit_globbing📝 Commits (1)
f97ec01feat: add filtering options to several cmds,nicify print_acls()📊 Changes
16 files changed (+318 additions, -106 deletions)
View changed files
📝
bin/plugin/group-gatekeeper/groupListGuestAccesses(+17 -6)📝
bin/plugin/open/groupList(+11 -7)📝
bin/plugin/open/groupListServers(+18 -8)📝
bin/plugin/open/selfListAccesses(+17 -8)📝
bin/plugin/restricted/accountList(+11 -7)📝
bin/plugin/restricted/accountListAccesses(+28 -22)📝
doc/sphinx/plugins/group-gatekeeper/groupListGuestAccesses.rst(+19 -0)📝
doc/sphinx/plugins/open/groupList.rst(+11 -7)📝
doc/sphinx/plugins/open/groupListServers.rst(+18 -3)📝
doc/sphinx/plugins/open/selfListAccesses.rst(+19 -5)📝
doc/sphinx/plugins/restricted/accountList.rst(+11 -7)📝
doc/sphinx/plugins/restricted/accountListAccesses.rst(+16 -3)📝
lib/perl/OVH/Bastion/allowdeny.inc(+90 -21)📝
lib/perl/OVH/Bastion/allowkeeper.inc(+8 -2)📝
tests/functional/tests.d/350-groups.sh(+12 -0)📝
tests/unit/run.pl(+12 -0)📄 Description
The commands
selfListAccesses,accountListAccesses,groupList,groupListServers,groupListGuestAccessesandaccountListnow have options to filter their output throughpattern matching, with
--includeand--exclude.Closes #60.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
tr#378