yii2-rbac icon indicating copy to clipboard operation
yii2-rbac copied to clipboard

RBAC Manager for Yii 2

Results 14 yii2-rbac issues
Sort by recently updated
recently updated
newest added

Hi, in our database we have a string primary key associated to users. When trying to access to the route `assignment/view?id=XYZ` it catch an error because `actionView(int $id)` require an...

How can I display a permission description instead of a name on the assignment page?

Hi, when i try to post this link (http://mysite/rbac/assignment/assign?id=12) with csrf validation true, i get 400 (Bad Request). My yii2 version is 2.0.39. Any suggest? Thank you, John

How can I create a new assignment? it shows no data

This was required in my case because I was using varchar in my database as user ID instead of int. Making the parameters loosely typed made it work.

Maximum execution time of 600 seconds exceeded public function getUniqueId() { return $this->module ? ltrim($this->module->getUniqueId() . '/' . $this->id, '/') : $this->id; } I am getting timeout error while accessing...

Hello, I have added this in `config/web.php` ```php 'as access' => [ 'class' => yii2mod\rbac\filters\AccessControl::class, 'allowActions' => [ 'site/*', 'admin/*', 'note/*', ] ], ``` If I make an AJAX POST...

I'm trying to install RBAC Extension on yii2 advanced template but it throws error. How to I install RBAC? $ ls composer.phar yii $ which composer /usr/local/bin/composer $ composer global...

somewhere in other comments - I saw that Create your own rule class, for example: ``` class AboutUsRule extends Rule { public $name = 'aboutUsRule'; public function execute($user, $item, $params)...