Commit cdb2b44f by Anton Sidashin Committed by Alexander Makarov

Fixes #4287: authorization link fix

parent f4c451b2
...@@ -117,7 +117,7 @@ If authentication fails, a response with HTTP status 401 will be sent back toget ...@@ -117,7 +117,7 @@ If authentication fails, a response with HTTP status 401 will be sent back toget
After a user is authenticated, you probably want to check if he or she has the permission to perform the requested After a user is authenticated, you probably want to check if he or she has the permission to perform the requested
action for the requested resource. This process is called *authorization* which is covered in detail in action for the requested resource. This process is called *authorization* which is covered in detail in
the [Authorization section](authorization.md). the [Authorization section](security-authorization.md).
If your controllers extend from [[yii\rest\ActiveController]], you may override If your controllers extend from [[yii\rest\ActiveController]], you may override
the [[yii\rest\Controller::checkAccess()|checkAccess()]] method to perform authorization check. The method the [[yii\rest\Controller::checkAccess()|checkAccess()]] method to perform authorization check. The method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment