Yii Framework Forum: Rights Bizrule Not Working For Inherited Roles - Yii Framework Forum

Jump to content

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

Rights Bizrule Not Working For Inherited Roles Rate Topic: -----

#1 User is offline   srini1987 

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

Posted 21 August 2013 - 05:36 AM

Hi,
I have around 15 roles and I restricted the authenticated role viewing only their profile by specifying bizrule like return Yii::app()->user->id === Yii::app()->request->getParam(id);.The problem is it's working fine for the authenticated role according to the business rule but for other higher roles inherited from authenticated role were not working(throws 403 error not authorized)as the higher roles can view all the profiles.

Any help could be appreciated very much.

Thanks,
Srini.
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