php-casbin / laravel-authz

An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.
Apache License 2.0
272 stars 46 forks source link

feat: implement remote fetching of the model.conf #16

Closed francoisauclair911 closed 3 years ago

francoisauclair911 commented 3 years ago
hsluoyz commented 3 years ago

Fix: https://github.com/php-casbin/laravel-authz/issues/15

hsluoyz commented 3 years ago

@techoner

francoisauclair911 commented 3 years ago

Fighting my IDE at every step but I'll finally merge the right thing

francoisauclair911 commented 3 years ago

@techoner hopefully this works now ? Not sure how clean it looks, I can delete this and recreate new merge request if it helps

Cheers

hsluoyz commented 3 years ago

@francoisauclair911 plz squash your commits into one single commit.

And also fix the checks:

image

leeqvip commented 3 years ago

@techoner hopefully this works now ? Not sure how clean it looks, I can delete this and recreate new merge request if it helps

Cheers

@francoisauclair911 .gitconfig should ignore newlines and file mods

[core]
autocrlf = false
filemode = false
safecrlf = true