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:
parent
a1582aa8cb
commit
437d1bbf7a
2 changed files with 13 additions and 20 deletions
|
@ -48,8 +48,8 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- State of the authorization permission.
|
- State of the authorization permission.
|
||||||
- On C(present), the authorization permission will be created (or updated if it exists already).
|
- On V(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(absent), the authorization permission will be removed if it exists.
|
||||||
choices: ['present', 'absent']
|
choices: ['present', 'absent']
|
||||||
default: 'present'
|
default: 'present'
|
||||||
type: str
|
type: str
|
||||||
|
@ -66,8 +66,8 @@ options:
|
||||||
permission_type:
|
permission_type:
|
||||||
description:
|
description:
|
||||||
- The type of authorization permission.
|
- The type of authorization permission.
|
||||||
- On C(scope) create a scope-based permission.
|
- On V(scope) create a scope-based permission.
|
||||||
- On C(resource) create a resource-based permission.
|
- On V(resource) create a resource-based permission.
|
||||||
type: str
|
type: str
|
||||||
required: true
|
required: true
|
||||||
choices:
|
choices:
|
||||||
|
@ -177,49 +177,49 @@ end_state:
|
||||||
id:
|
id:
|
||||||
description: ID of the authorization permission.
|
description: ID of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
|
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
|
||||||
name:
|
name:
|
||||||
description: Name of the authorization permission.
|
description: Name of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: ResourcePermission
|
sample: ResourcePermission
|
||||||
description:
|
description:
|
||||||
description: Description of the authorization permission.
|
description: Description of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: Resource Permission
|
sample: Resource Permission
|
||||||
type:
|
type:
|
||||||
description: Type of the authorization permission.
|
description: Type of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: resource
|
sample: resource
|
||||||
decisionStrategy:
|
decisionStrategy:
|
||||||
description: The decision strategy to use.
|
description: The decision strategy to use.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: UNANIMOUS
|
sample: UNANIMOUS
|
||||||
logic:
|
logic:
|
||||||
description: The logic used for the permission (part of the payload, but has a fixed value).
|
description: The logic used for the permission (part of the payload, but has a fixed value).
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample: POSITIVE
|
sample: POSITIVE
|
||||||
resources:
|
resources:
|
||||||
description: IDs of resources attached to this permission.
|
description: IDs of resources attached to this permission.
|
||||||
type: list
|
type: list
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample:
|
sample:
|
||||||
- 49e052ff-100d-4b79-a9dd-52669ed3c11d
|
- 49e052ff-100d-4b79-a9dd-52669ed3c11d
|
||||||
scopes:
|
scopes:
|
||||||
description: IDs of scopes attached to this permission.
|
description: IDs of scopes attached to this permission.
|
||||||
type: list
|
type: list
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample:
|
sample:
|
||||||
- 9da05cd2-b273-4354-bbd8-0c133918a454
|
- 9da05cd2-b273-4354-bbd8-0c133918a454
|
||||||
policies:
|
policies:
|
||||||
description: IDs of policies attached to this permission.
|
description: IDs of policies attached to this permission.
|
||||||
type: list
|
type: list
|
||||||
returned: when I(state=present)
|
returned: when O(state=present)
|
||||||
sample:
|
sample:
|
||||||
- 9da05cd2-b273-4354-bbd8-0c133918a454
|
- 9da05cd2-b273-4354-bbd8-0c133918a454
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -84,37 +84,30 @@ queried_state:
|
||||||
id:
|
id:
|
||||||
description: ID of the authorization permission.
|
description: ID of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
|
sample: 9da05cd2-b273-4354-bbd8-0c133918a454
|
||||||
name:
|
name:
|
||||||
description: Name of the authorization permission.
|
description: Name of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: ResourcePermission
|
sample: ResourcePermission
|
||||||
description:
|
description:
|
||||||
description: Description of the authorization permission.
|
description: Description of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: Resource Permission
|
sample: Resource Permission
|
||||||
type:
|
type:
|
||||||
description: Type of the authorization permission.
|
description: Type of the authorization permission.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: resource
|
sample: resource
|
||||||
decisionStrategy:
|
decisionStrategy:
|
||||||
description: The decision strategy.
|
description: The decision strategy.
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: UNANIMOUS
|
sample: UNANIMOUS
|
||||||
logic:
|
logic:
|
||||||
description: The logic used for the permission (part of the payload, but has a fixed value).
|
description: The logic used for the permission (part of the payload, but has a fixed value).
|
||||||
type: str
|
type: str
|
||||||
returned: when I(state=present)
|
|
||||||
sample: POSITIVE
|
sample: POSITIVE
|
||||||
config:
|
config:
|
||||||
description: Configuration of the permission (empty in all observed cases).
|
description: Configuration of the permission (empty in all observed cases).
|
||||||
type: dict
|
type: dict
|
||||||
returned: when I(state=present)
|
|
||||||
sample: {}
|
sample: {}
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue