Yii Framework Forum: Yii Acl Blog Demo - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Acl Blog Demo Rate Topic: ***** 1 Votes

#1 User is offline   zeroByte 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 40
  • Joined: 17-February 12

Posted 02 December 2012 - 06:28 AM

People have asked me recurringly for a demo implementation of ACL.
Now I've finally struggled to myself and fleshed out the yii blog demo with very basic permissions. They should just give you an idea of how to approach (the very basic) things with ACL, for details take a look at "Yii-ACL in a nutshell".
Let me know if you miss something.

ACL Blog Tutorial PDF
ACL Blog Tutorial zipped


Regards
0

#2 User is offline   LastDay 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 06-March 11
  • Location:Russia

Posted 02 December 2012 - 08:56 AM

Thank you for detailed explanation!
0

#3 User is offline   timster 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 13-July 12

Posted 02 December 2012 - 09:24 AM

Many many thanks for this!!
0

#4 User is offline   zeroByte 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 40
  • Joined: 17-February 12

Posted 02 December 2012 - 10:46 AM

I just noticed a flaw in this demo:
I did not tie the objects created by guests to their sessions. That means that as a guest you have full access to the content of all other guests. I just slipped by, I'll make an update to the demo.

Regards,
0

#5 User is offline   jpj 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 27-October 10

Posted 17 April 2013 - 06:48 AM

It seems rows are not deleted in aco, aco_collection tables when a corresponding record is deleted, resulting in many useless rows in those tables. Did I miss something ?
0

#6 User is offline   lukasFigueiredo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 12-July 13

Posted 18 July 2013 - 10:11 AM

I have a error:
- Parse error: parse error, expecting `')'' in acl\models\behaviors\RestrictedActiveRecordBehavior.php
this happen in capter 3 of tutorial
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users