You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
{
// your code here
}
}
my question is where do I add these rule. as mention there - class - app\rbac\rules\AboutUsRule // in my example
if I am trying to create a folder rbac in my site root, and then adding rule there, it is showing the directory listing instead of rbac web interface. when I access mysite/rbac.
note:
I am able to add role, permission, assign permission etc. without any issue.
The text was updated successfully, but these errors were encountered:
somewhere in other comments - I saw that
Create your own rule class, for example:
my question is where do I add these rule. as mention there - class - app\rbac\rules\AboutUsRule // in my example
if I am trying to create a folder rbac in my site root, and then adding rule there, it is showing the directory listing instead of rbac web interface. when I access mysite/rbac.
note:
I am able to add role, permission, assign permission etc. without any issue.
The text was updated successfully, but these errors were encountered: