keycloak-scim/authorization_services/topics/permission-create-resource.adoc
Stian Thorgersen de7a1403ce Convert Authorization Service to a flat topic structure (#212)
* Convert Authorization Service to a flat topic structure

* Fix issue with toc being cut
2017-10-09 08:38:46 +02:00

41 lines
1.4 KiB
Text

[[_permission_create_resource]]
= 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.
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:{project_images}/permission/create-resource.png[alt="Add Resource-Based Permission"]
== Configuration
* *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.
+
* *Description*
+
A string containing details about this permission.
[[_permission_create_resource_apply_resource_type]]
* *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.
+
** Resource Type
+
Defines the resource type to protect. When defined, this permission is evaluated for all resources matching that type.
+
* *Resources*
+
Defines a set of one or more resources to protect.
* *Apply Policy*
+
Defines a set of one or more policies to associate with a permission.
* *Decision Strategy*
+
The <<_permission_decision_strategies, Decision Strategy>> for this permission.