php-casbin/laravel-authz

Unable to use FileAdapter adapter

mouyong opened this issue · 5 comments

Unable to use FileAdapter adapter

@techoner @yk17310320725

@mouyong You can specify adapter in the configuration file: https://github.com/php-casbin/laravel-authz#multiple-enforcers

@techoner it's need users write CasbinFileAdapter ?

image

image

when i use FileAdapter, it have some exceptioin.

image

image

because in \Lauthz\EnforcerManager:97-99, not resolve by different adapter.

image

@techoner