1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #6964/3ce4fe8d backport][stable-7] keycloak_authz_permission*: adjust to semantic markup (#6967)

keycloak_authz_permission*: adjust to semantic markup (#6964)

Adjust to semantic markup.

(cherry picked from commit 3ce4fe8dd8)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-07-16 13:14:11 +00:00 committed by GitHub
parent a1582aa8cb
commit 437d1bbf7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 20 deletions

View file

@ -48,8 +48,8 @@ options:
state:
description:
- State of the authorization permission.
- On C(present), the authorization permission will be created (or updated if it exists already).
- On C(absent), the authorization permission will be removed if it exists.
- On V(present), the authorization permission will be created (or updated if it exists already).
- On V(absent), the authorization permission will be removed if it exists.
choices: ['present', 'absent']
default: 'present'
type: str
@ -66,8 +66,8 @@ options:
permission_type:
description:
- The type of authorization permission.
- On C(scope) create a scope-based permission.
- On C(resource) create a resource-based permission.
- On V(scope) create a scope-based permission.
- On V(resource) create a resource-based permission.
type: str
required: true
choices:
@ -177,49 +177,49 @@ end_state:
id:
description: ID of the authorization permission.
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
name:
description: Name of the authorization permission.
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: ResourcePermission
description:
description: Description of the authorization permission.
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: Resource Permission
type:
description: Type of the authorization permission.
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: resource
decisionStrategy:
description: The decision strategy to use.
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: UNANIMOUS
logic:
description: The logic used for the permission (part of the payload, but has a fixed value).
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: POSITIVE
resources:
description: IDs of resources attached to this permission.
type: list
returned: when I(state=present)
returned: when O(state=present)
sample:
- 49e052ff-100d-4b79-a9dd-52669ed3c11d
scopes:
description: IDs of scopes attached to this permission.
type: list
returned: when I(state=present)
returned: when O(state=present)
sample:
- 9da05cd2-b273-4354-bbd8-0c133918a454
policies:
description: IDs of policies attached to this permission.
type: list
returned: when I(state=present)
returned: when O(state=present)
sample:
- 9da05cd2-b273-4354-bbd8-0c133918a454
'''

View file

@ -84,37 +84,30 @@ queried_state:
id:
description: ID of the authorization permission.
type: str
returned: when I(state=present)
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
name:
description: Name of the authorization permission.
type: str
returned: when I(state=present)
sample: ResourcePermission
description:
description: Description of the authorization permission.
type: str
returned: when I(state=present)
sample: Resource Permission
type:
description: Type of the authorization permission.
type: str
returned: when I(state=present)
sample: resource
decisionStrategy:
description: The decision strategy.
type: str
returned: when I(state=present)
sample: UNANIMOUS
logic:
description: The logic used for the permission (part of the payload, but has a fixed value).
type: str
returned: when I(state=present)
sample: POSITIVE
config:
description: Configuration of the permission (empty in all observed cases).
type: dict
returned: when I(state=present)
sample: {}
'''