Merge pull request #34 from pedroigor/master

Enforcement mode to paths
This commit is contained in:
Pedro Igor 2016-11-21 10:05:18 -02:00 committed by GitHub
commit a466a30633

View file

@ -121,3 +121,16 @@ The name of the HTTP method.
**** *scopes* **** *scopes*
+ +
An array of strings with the scopes associated with the method. When you associate scopes with a specific method, the client trying to access a protected resource (or path) must provide an RPT that grants permission to all scopes specified in the list. For example, if you define a method _POST_ with a scope _create_, the RPT must contain a permission granting access to the _create_ scope when performing a POST to the path. An array of strings with the scopes associated with the method. When you associate scopes with a specific method, the client trying to access a protected resource (or path) must provide an RPT that grants permission to all scopes specified in the list. For example, if you define a method _POST_ with a scope _create_, the RPT must contain a permission granting access to the _create_ scope when performing a POST to the path.
+
**** *enforcement-mode*
+
Specifies how policies are enforced.
+
***** *ENFORCING*
+
(default mode) Requests are denied by default even when there is no policy associated with a given resource.
+
***** *DISABLED*
+
Disables the evaluation of policies for a path
+