From d6f74f4b2bb5facbc43b57744ea9dee69c3d4acc Mon Sep 17 00:00:00 2001 From: muyiwaolurin Date: Wed, 21 May 2014 11:08:40 -0400 Subject: [PATCH] Update security-authorization.md Typo --- docs/guide/security-authorization.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/guide/security-authorization.md b/docs/guide/security-authorization.md index 594c03f454..facb304727 100644 --- a/docs/guide/security-authorization.md +++ b/docs/guide/security-authorization.md @@ -306,8 +306,7 @@ For applications that require complex access control with dynamically updated au As aforementioned, rules add additional constraint to roles and permissions. A rule is a class extending from [[yii\rbac\Rule]]. It must implement the [[yii\rbac\Rule::execute()|execute()]] method. In the hierarchy we've -created previously author cannot edit his own post. Let's fix it. First we need a rule to verify that the user is post -author: +created previously author cannot edit his own post. Let's fix it. First we need a rule to verify that the user is the post author: ```php namespace app\rbac;