Adding groups tab to Policy Details page (#837)

* parent 58efbbbf60
author Adam Stafford <adam@minio.io> 1624473190 -0700
committer Adam Stafford <adam@minio.io> 1624569868 -0700

policy groups

* restoring old commit files

Co-authored-by: Adam Stafford <adam@minio.io>
Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com>
Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
adfost
2021-06-28 12:53:29 -07:00
committed by GitHub
parent 9ec73260c9
commit 531d8a2f4e
9 changed files with 627 additions and 0 deletions

View File

@@ -3387,6 +3387,40 @@ func init() {
}
}
},
"/policies/{policy}/groups": {
"get": {
"tags": [
"AdminAPI"
],
"summary": "List Groups for a Policy",
"operationId": "ListGroupsForPolicy",
"parameters": [
{
"type": "string",
"name": "policy",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/policies/{policy}/users": {
"get": {
"tags": [
@@ -11191,6 +11225,40 @@ func init() {
}
}
},
"/policies/{policy}/groups": {
"get": {
"tags": [
"AdminAPI"
],
"summary": "List Groups for a Policy",
"operationId": "ListGroupsForPolicy",
"parameters": [
{
"type": "string",
"name": "policy",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/policies/{policy}/users": {
"get": {
"tags": [