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

41 lines
1.4 KiB
Text
Raw Normal View History

2016-11-29 15:30:53 +00:00
[[_permission_create_resource]]
2016-12-02 15:25:43 +00:00
=== 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
2017-01-05 16:54:31 +00:00
image:../../{{book.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
2016-11-29 15:30:53 +00:00
[[_permission_create_resource_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*
+
2016-11-29 15:30:53 +00:00
The <<fake/../decision-strategy.adoc#_permission_decision_strategies, Decision Strategy>> for this permission.