| 1 |
[options="header"] |
| 2 |
[cols="15%,85%"] |
| 3 |
|===== |
| 4 |
| Return code | Description |
| 5 |
| `fail` | The operation failed. Usually as a result of an |
| 6 |
external dependency like a database being unavailable |
| 7 |
or an internal error. |
| 8 |
| `handled` | The request has been "handled", no further policies |
| 9 |
in the current section should be called, and the section |
| 10 |
should immediately exit. |
| 11 |
| `invalid` | The request, or operation, was invalid. In the case of |
| 12 |
requests this usually indicates absent or malformed |
| 13 |
attribute values. |
| 14 |
| `noop` | The operation did nothing. |
| 15 |
| `notfound` | A 'lookup' operation returned no results. |
| 16 |
| `ok` | Operation completed successfully but did not change any |
| 17 |
attributes in the request. |
| 18 |
| `reject` | The operation indicates the current request should be |
| 19 |
'rejected'. What this actually means is different from |
| 20 |
protocol to protocol. It usually means that access to |
| 21 |
the requested resource should be denied, or that the |
| 22 |
current request should be NAKd. Usually returned when |
| 23 |
provided credentials were invalid. |
| 24 |
| `updated` | The operation completed successfully and updated one |
| 25 |
or more attributes in the request. |
| 26 |
| `disallow` | Access to a particular resource is |
| 27 |
denied. This is similar to `reject` but is the result |
| 28 |
of an authorizational check failing, as opposed to |
| 29 |
credentials being incorrect. |
| 30 |
| `yield` | Returned by an operation when execution of a request should |
| 31 |
be suspended. |
| 32 |
|===== |
| 33 |
|
| 34 |
[NOTE] |
| 35 |
==== |
| 36 |
In versions ≤ v3.0.x the `disallow` rcode was called `userlock`. `disallow` and |
| 37 |
`userlock` have an identical meaning. `disallow` will be returned in any |
| 38 |
instance where `userlock` was returned in v3.0.x |
| 39 |
==== |