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

Id not integer in the assigment/view route

Open ilbassa opened this issue 3 years ago • 2 comments

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 int as parameter...

How can we solve this without changing primary key type?

ilbassa avatar Aug 24 '21 08:08 ilbassa

Same problem on other action across the entire extension. It's a blocking error because we have a string identifyer everywhere.

ilbassa avatar Aug 30 '21 13:08 ilbassa

Excuse me, you can solve the problem of when i trying to access to the route assigment/view?id=xyz page no found how can solve. It works fine with the firt user, but when i add another user they not work

danieldeloro avatar Nov 29 '22 16:11 danieldeloro