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

40 lines
1.3 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 *Resource-based* in the dropdown list in the upper right 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. A best practice is to use names that are closely related to your business and security requirements, so you
can identify them more easily.
2016-06-05 22:17:31 +00:00
+
* *Description*
+
A string containing 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 the permission is applied to all resources with a given type. When selecting this field, you are prompted to enter the resource type to protect.
2016-06-05 22:17:31 +00:00
+
** Resource Type
+
Defines the resource type to protect. When defined, this permission is evaluated for all resources matching that 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.