Commit Graph

58 Commits

Author SHA1 Message Date
Jon abc63d7c66 fix: add laravel 11 2024-03-24 23:25:51 +08:00
Jon fd164639c3
docs: edit incorrect link. 2023-03-24 00:11:11 +08:00
Jon 4ba72d3b34 fix: Update the node version in github action to lts 2023-02-16 23:24:21 +08:00
Jon a237b71baa fix: Compatible with Laravel 10 2023-02-16 23:15:01 +08:00
Jon 774857a93c
Merge pull request #53 from cidosx/master
Improve DatabaseAdapter
2022-11-03 23:16:36 +08:00
Cidos 7e21d0c98b perf: DatabaseAdapter::updatePolicy return early if not exists 2022-11-01 15:11:33 +08:00
Cidos 440bc229f6
perf: using the connection of the current model when open the transaction. 2022-11-01 15:08:44 +08:00
Jon Lee 5de36c571d Merge branch 'master' of github.com:php-casbin/laravel-authz 2022-09-25 18:57:24 +08:00
Jon Lee bf0ea413c7 fix: composer install failed 2022-09-25 18:57:13 +08:00
Jon 0c3119cfab
fix: Add static call annotation (#45) (#51)
Co-authored-by: topwms <zhangsizhao@126.com>
2022-09-25 18:31:29 +08:00
Jon 14529baea7
Merge pull request #41 from php-casbin/fix/support-laravel9
fix: support Laravel9
2022-02-17 16:28:13 +08:00
Jon Lee 491620bfc6 fix: support laravel9 2022-02-17 16:23:55 +08:00
Jon a25afdb4a6
feat: compatible with lumen (#39) 2022-01-28 12:33:04 +08:00
Jon 4872e8f905
fix: Use loadPolicyArray instead of loadPolicyLine 2022-01-05 23:04:23 +08:00
basakest 0e5b1f2b3d
fix: Variable identifier type error, fix #36 (#37)
fix: Variable identifier type error, fix #36
2021-11-20 21:02:42 +08:00
basakest 8c89548b09
refactor: Rewrite updateFilteredPolicies method (#35) 2021-11-14 11:42:19 +08:00
dawn-darkest be98eed115
BREAKING CHANGE: modify column p_type to ptype (#31)
BREAKING CHANGE: modify column p_type to ptype (#31)

Co-authored-by: liujun <liujun@163.com>
2021-09-07 18:40:12 +08:00
Jon Lee 1f0702af05 fix: error in updateFilteredPolicies() 2021-09-02 17:36:01 +08:00
basakest 9676f0b918
feat: support updateFilteredPolicies method (#29)
feat: support updateFilteredPolicies method
2021-09-02 12:36:43 +08:00
basakest 877f2f27b4
feat: support updatePolicies method, fix #27 (#28) 2021-07-28 18:43:58 +08:00
basakest f81f206dbe
fix: Amend part logic of removePolicies (#24) 2021-07-11 09:05:47 +08:00
Donjan cc73dea28a
perf: Optimize the cache to improve performance
* Improve performance

* Trigger event

* add DatabaseAdapterForCacheTest.php

Co-authored-by: Donjan <Donjan@cqbaobao.cn>
2021-05-06 16:17:40 +08:00
Jon Lee 66a857628e
fix: Revert "perf: Improve performance" (#21)
This reverts commit 3354b558a6.
2021-04-25 12:18:05 +08:00
Donjan 3354b558a6
perf: Improve performance
Co-authored-by: Donjan <Donjan@cqbaobao.cn>
2021-04-25 11:30:01 +08:00
Jon Lee be8f70909b
Merge pull request #18 from basakest/fixUpdatableAdapter
fix: fix a typo about updatePolicy method
2021-04-04 22:47:02 +08:00
basakest 4e25a6a457 fix: fix a typo about updatePolicy method
fix: fix a typo
2021-04-04 15:13:49 +08:00
Jon Lee cd5eefc646
Merge pull request #17 from basakest/FilteredDatabaseAdapter
feat: support Casbin FilteredAdapter interface
2021-04-01 19:20:50 +08:00
basakest d929f75a9d feat: support Casbin FilteredAdapter interface
fix: add filtered property
2021-04-01 13:45:22 +08:00
Jon Lee bb566321bb
Merge pull request #12 from basakest/UpdatableDatabaseAdapter
feat: support Casbin UpdatableAdapter interface
2021-03-22 11:51:37 +08:00
basakest 64d576ce28 feat: support Casbin UpdatableAdapter interface 2021-03-20 20:25:55 +08:00
basakest 1fc94638d9 feat: support Casbin UpdatableAdapter interface 2021-03-20 20:21:44 +08:00
Jon Lee ad06ec509d
Merge pull request #11 from basakest/BatchAdapter
feat: Support Casbin BatchAdapter interface
2021-03-09 11:09:43 +08:00
basakest b05630bbfb feat: support Casbin BatchAdapter interface(fix #10) 2021-03-08 19:07:13 +08:00
Jon Lee 48ff59e236 chore: Remove composer cache 2020-12-31 13:39:51 +08:00
Jon Lee 5ae9445ab0 refactor: Change the field ptype to p_type 2020-12-31 13:31:08 +08:00
Jon Lee c78240b7e6
Merge pull request #8 from php-casbin/develop
Merge branch 'develop'
2020-12-26 01:54:49 +08:00
Jon Lee 6b30efcc5a feat: upgrade casbin to 3.1 2020-12-21 14:01:08 +08:00
Jon Lee 9a097cfb26 feat: support laravel 8.x, fix #5 2020-12-21 13:55:48 +08:00
Jon Lee 41fe936722 chore: github actions instead of travis-ci 2020-12-21 13:39:47 +08:00
Jon Lee 7d27ed3677 chore: upload coverage 2020-12-21 13:29:43 +08:00
Jon Lee 482826a2b2 feat: use 'Github Actions' to run tests and auto release 2020-12-25 15:05:09 +08:00
Foufou ec12e524ae Added support for Laravel7.x 2020-03-09 13:13:10 +08:00
root d77f1f7e88 Added Casbin 2.0 support, requires Laravel 5.5 and newer. 2019-10-14 10:58:07 +08:00
Foufou 8f437f2c2e
Update README.md 2019-09-26 11:31:22 +08:00
root b6ed2b51c3 use psr3-bridge. 2019-09-24 16:06:29 +08:00
root 8f97b3c95c Added support for laravel 6.0 . 2019-09-04 13:16:34 +08:00
Foufou 6ada97a6d7
Add Casbin API links. 2019-09-04 13:08:20 +08:00
root 424697101e Add multiple enforcers docs. 2019-09-04 13:03:12 +08:00
root 6e69d2b8dd Support for multiple enforcers. 2019-09-04 12:56:51 +08:00
TechLee 4e53d87672 Updated casbin to 1.x. 2019-08-26 14:42:01 +08:00