GroupPermissionsArgs

data class GroupPermissionsArgs(val groupId: Output<String>? = null, val manageMembersScope: Output<GroupPermissionsManageMembersScopeArgs>? = null, val manageMembershipScope: Output<GroupPermissionsManageMembershipScopeArgs>? = null, val manageScope: Output<GroupPermissionsManageScopeArgs>? = null, val realmId: Output<String>? = null, val viewMembersScope: Output<GroupPermissionsViewMembersScopeArgs>? = null, val viewScope: Output<GroupPermissionsViewScopeArgs>? = null) : ConvertibleToJava<GroupPermissionsArgs>

Allows you to manage all group Scope Based Permissions https://www.keycloak.org/docs/latest/server_admin/#group. This is part of a preview Keycloak feature: admin_fine_grained_authz (see https://www.keycloak.org/docs/latest/server_admin/#_fine_grain_permissions). This feature can be enabled with the Keycloak option -Dkeycloak.profile.feature.admin_fine_grained_authz=enabled. See the example docker-compose.yml file for an example. When enabling Roles Permissions, Keycloak does several things automatically:

  1. Enable Authorization on built-in realm-management client (if not already enabled).

  2. Create a resource representing the role permissions.

  3. Create scopes view, manage, view-members, manage-members, manage-membership.

  4. Create all scope based permission for the scopes and role resource

Constructors

Link copied to clipboard
constructor(groupId: Output<String>? = null, manageMembersScope: Output<GroupPermissionsManageMembersScopeArgs>? = null, manageMembershipScope: Output<GroupPermissionsManageMembershipScopeArgs>? = null, manageScope: Output<GroupPermissionsManageScopeArgs>? = null, realmId: Output<String>? = null, viewMembersScope: Output<GroupPermissionsViewMembersScopeArgs>? = null, viewScope: Output<GroupPermissionsViewScopeArgs>? = null)

Properties

Link copied to clipboard
val groupId: Output<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val realmId: Output<String>? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): GroupPermissionsArgs