2016-11-29 15:30:53 +00:00
[[_permission_create_resource]]
2016-12-02 15:25:43 +00:00
=== Creating Resource-Based Permissions
2016-05-31 20:36:14 +00:00
2016-11-15 21:34:20 +00:00
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
2016-11-15 21:34:20 +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.
2016-06-14 23:50:50 +00:00
.Add Resource-Based Permission
image:../../images/permission/create-resource.png[alt="Add Resource-Based Permission"]
2016-12-01 14:32:11 +00:00
==== Configuration
2016-06-05 22:17:31 +00:00
* *Name*
+
2016-11-15 21:34:20 +00:00
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*
+
2016-11-15 21:34:20 +00:00
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*
+
2016-11-15 21:34:20 +00:00
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
+
2016-11-15 21:34:20 +00:00
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*
+
2016-09-09 03:53:39 +00:00
Defines a set of one or more resources to protect.
2016-06-05 22:17:31 +00:00
* *Apply Policy*
+
2016-09-09 03:53:39 +00:00
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.