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
I am using the pluto and comus module (sjaakp) and created a role "user". A user got the permission to create a comment and was able to update and delete his own comments. In theory.
The problem is that pluto's condition "isCreator" spits out in debug: "Undefined index: model"
I am happy about any help.
Thanks,
The text was updated successfully, but these errors were encountered:
Same issue here! registered is default role. It is supposed to edit his own profile so i added 'isCreator' condition to the role
Then in my controller:
And i i go to https://######/profile/view?id=1 (or any other action)
I get the 'Undefined index: model' in in /####/#####/vendor/sjaakp/yii2-pluto/rbac/CreatorRule.php line 28
It is supposed to add something to the controllers/models to use 'isCreator' condition?
Thank you!
I am using the pluto and comus module (sjaakp) and created a role "user". A user got the permission to create a comment and was able to update and delete his own comments. In theory.
The problem is that pluto's condition "isCreator" spits out in debug: "Undefined index: model"
I am happy about any help.
Thanks,
The text was updated successfully, but these errors were encountered: