keycloak-scim/topics/permission/create-resource.adoc

40 lines
1.4 KiB
Text
Raw Normal View History

== Creating Resource-based Permissions
A Resource-based permission defines a set of one or more resources to protect using a set of one or more authorization policies.
2016-06-05 22:17:31 +00:00
To create a new Resource-based permission, select the option *Resource-based* in the dropdown located in the right upper corner of the permission listing.
.Add Resource-Based Permission
image:../../images/permission/create-resource.png[alt="Add Resource-Based Permission"]
=== Configuration
2016-06-05 22:17:31 +00:00
* *Name*
+
A human-readable and unique string describing the permission. We strongly suggest you to use names that are closely related with your business and security requirements, so you
can identify them more easily and also know what they actually mean.
2016-06-05 22:17:31 +00:00
+
* *Description*
+
A string with more details about this permission.
2016-07-26 21:34:49 +00:00
[[_apply_resource_type]]
2016-06-05 22:17:31 +00:00
* *Apply To Resource Type*
+
Specifies if this permission would be applied to all resources with a given type. When you select this field, you'll be prompted to enter the resource type to protect.
+
** Resource Type
+
Defines the resource type to protect. When defined, this permission is going to be evaluated for all resources matching the type.
2016-06-05 22:17:31 +00:00
+
* *Resources*
+
Defines a set of one or more resources to protect.
2016-06-05 22:17:31 +00:00
* *Apply Policy*
+
Defines a set of one or more policies to associate with a permission.
2016-06-05 22:17:31 +00:00
* *Decision Strategy*
+
The link:decision-strategy.html[Decision Strategy] for this permission.