mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
keycloak_userprofile: Add missing selector option (#11309)
* Add selector option * Add fragment * Formatting
This commit is contained in:
parent
97e6ba0b65
commit
9f5114dc76
2 changed files with 15 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- keycloak_userprofile - add support for ``selector`` option (https://github.com/ansible-collections/community.general/pull/11309).
|
||||
|
|
@ -259,6 +259,18 @@ options:
|
|||
default:
|
||||
- user
|
||||
|
||||
selector:
|
||||
description:
|
||||
- Selector when the attribute should be added.
|
||||
type: dict
|
||||
version_added: 12.2.0
|
||||
suboptions:
|
||||
scopes:
|
||||
description:
|
||||
- Scopes to which the attribute should be added.
|
||||
type: list
|
||||
elements: str
|
||||
|
||||
groups:
|
||||
description:
|
||||
- A list of attribute groups to be included in the User Profile.
|
||||
|
|
@ -574,6 +586,7 @@ def main():
|
|||
"required": dict(
|
||||
type="dict", options={"roles": dict(type="list", elements="str", default=["user"])}
|
||||
),
|
||||
"selector": dict(type="dict", options={"scopes": dict(type="list", elements="str")}),
|
||||
},
|
||||
),
|
||||
"groups": dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue