demo icon indicating copy to clipboard operation
demo copied to clipboard

AccessChecker is session dependent

Open AllanNP opened this issue 5 years ago • 5 comments

What steps will reproduce the problem?

AccessChecker is session dependent

What is the expected result?

What do you get instead?

Additional info

Q A
Version 1.0.?
PHP version 7.4
Operating system Docker

AllanNP avatar Oct 01 '20 09:10 AllanNP

Why is it an issue?

samdark avatar Oct 01 '20 11:10 samdark

Because it is hardcoded into the use Yiisoft\Yii\Web\User\User class and ignores any other yiisoft/auth authentication method that do not use the session.

AllanNP avatar Oct 01 '20 12:10 AllanNP

Right. How would you solve it?

samdark avatar Oct 01 '20 13:10 samdark

Until I decided how to do it right, I'll think about it and throw a new request.

AllanNP avatar Oct 01 '20 13:10 AllanNP

OK.

samdark avatar Oct 01 '20 15:10 samdark