Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/casbin/gorm-adapter
GORM adapter for Casbin, see extended version of GORM Adapter Ex at: https://github.com/casbin/gorm-adapter-ex
https://github.com/casbin/gorm-adapter
1f2965ad10a4ce97d91267ec9f51ca97f7833b84 authored 11 months ago by sylarxu <[email protected]>
* fix: fix postgres truncate not restart identify
* fix: fix testing error
fix the test erro...
* feat: context adapter
* fix: fix db connection
* fix: fix db connection
* fix: fix db...
6f781660c3106354e496f36120b38bc830fd1f2d authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>* fix: fix broken links
* Update adapter.go
---------
Co-authored-by: hsluoyz <hsluoyz@...
bb83b9ac7f8fa131f85b4ec31eacb4c3abc10acb authored over 1 year ago by YunShu <[email protected]>a7eb1c1e6c3c62e1a24ce0a270f50966c7b2c425 authored over 1 year ago by YunShu <[email protected]>
babb62ce89af0b44e527e21bbb933a46ff6d10c5 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
* feat: ConditionToGormQuery
* fix: delete local test
* fix: import sort
809bce8fa24af61b69eb2bfcacd73d51fa6caebf authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>d7df6d8086dfe15c882668c7b2f5ff1c6e9d83f5 authored over 1 year ago by weloe <[email protected]>
* fix: use transaction to SavePolicy
* fix: fix use error db to execute transaction before
...
089b807f349347a85ba7810c6fe56224a18d9d6c authored over 1 year ago by weloe <[email protected]>b4efd2a92992771e08cbe264f3078aec98bd79c1 authored almost 2 years ago by hsluoyz <[email protected]>
* chore: update glebarez/sqlite and gorm.io/gorm version
Signed-off-by: Gaius <gaius.qi@gmail...
bb84724cb3d99d26112fc9a93cf919e9de5550e5 authored almost 2 years ago by Gaius <[email protected]>* Add getter for DB
* Update adapter.go
---------
Co-authored-by: hsluoyz <[email protected]>
c14ef43ca61bdda167f71b4ab0ab03c8bd8a511a authored almost 2 years ago by nonchan <[email protected]>7e02f10752bf7be9edb27504556633425d551deb authored almost 2 years ago by hsluoyz <[email protected]>
Support SQL Server in gorm-adapter
Support SQL Server in gorm-adapter
Co-authored-by: Zayn...
d1143cc526ddf327a35e41814436dae243911f1b authored about 2 years ago by Zayn Xie <[email protected]>0031f6ba92e642af9fa9b9d09d54f1d534eb1294 authored about 2 years ago by cyt <[email protected]>
8d7ae4b84de07f83789a2130812c77bf0c4d9b0c authored about 2 years ago by Gurbaj Singh <[email protected]>
87dd6fe6f4cb06b25de0e343bdf9da79be2f6877 authored about 2 years ago by hanshengzhao <[email protected]>
* fix: update gorm and gorm-drivers
* build: update ci go version
198ef24040a5a40a0f827a8360a3f9100f4b8cab authored about 2 years ago by dsuket <[email protected]>5ffa22b86f0c3c4617929350393bb1137d8f3ddc authored over 2 years ago by 黄宽 <[email protected]>
* feat: support transaction
* feat: add tx options
* feat: transaction return error
* f...
e1dae281255a9591ed5bd0c3f2c855f0aecd7ec0 authored over 2 years ago by VaneLord67 <[email protected]>This reverts commit 34e13d4d2dd3d88170d9e5a38c5f671e11328fb8.
e137c237d3b18b291b443be494294ad18b623ced authored over 2 years ago by Yang Luo <[email protected]>41953ccacc36b649354104e7f8dd68aa144add89 authored over 2 years ago by Ter <[email protected]>
fix: db can't reuse
b3d592883e9e143791d60826b4d165a563ec9bd4 authored over 2 years ago by Yang Tang <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
368eb78dd0584a5f486a9a629e198dabb6b712c8 authored over 2 years ago by tangyang9464 <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
3d2fa84c0c5510ae9374c5da84b85e0b5f0c5b92 authored over 2 years ago by Yang Tang <[email protected]>1bd95e09d066f8f7942055654fe1ceccd4bdbbd2 authored over 2 years ago by dirablue ( gaku ) <[email protected]>
Signed-off-by: tangyang9464 <[email protected]>
edb446cae99dd8626321fec3e12941e34f3e890d authored over 2 years ago by Yang Tang <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
6248ffe5fd40c062346575faf29ee04115498756 authored over 2 years ago by Yang Tang <[email protected]>* feat: support NewAdapterWithoutAutoMigrate
Signed-off-by: tangyang9464 <[email protected]...
956618ae6cc0ab8aa457b340aab3a006956daa21 authored over 2 years ago by Yang Tang <[email protected]>* feat: support SQLite by github.com/glebarez/sqlite
Signed-off-by: tangyang9464 <tangyang946...
b86e1398e1d4115784916217e7bb2f1732111c36 authored over 2 years ago by Yang Tang <[email protected]>34e13d4d2dd3d88170d9e5a38c5f671e11328fb8 authored over 2 years ago by Hao Liu <[email protected]>
Signed-off-by: abingcbc <[email protected]>
7b3bc27c2b301e05607450cdf68aad047507943f authored almost 3 years ago by Bingchang Chen <[email protected]>Signed-off-by: abingcbc <[email protected]>
a4afbc9298a9e38a71fe9107bf3cfc65db0d3fa8 authored about 3 years ago by Bingchang Chen <[email protected]>Signed-off-by: Stijn De Haes <[email protected]>
80ea4311823264fbc8529dc506fdd09da47de5ad authored about 3 years ago by Stijn De Haes <[email protected]>* Update go.mod
Signed-off-by: Jason McNeil <[email protected]>
* Update go.sum
Signed-...
654f1842863cdd78256e86a9407c251eb807dc4a authored over 3 years ago by Jason McNeil <[email protected]>fix: update README.md about sqlite support
897243ab06cc5583d1fdc0122e5c62ec56947a31 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
cee36d4c807c6623f354732781413758b8c413eb authored over 3 years ago by tangyang9464 <[email protected]>fix: RemoveFilteredPolicy don't check empty parameter
379427f6a0d7272d3798b29eaa1306f429cff47a authored over 3 years ago by Yang Luo <[email protected]>fix: change AddPolicies to batch insert
51b06eb41b171c7fa0b88061e4f9b9b2aea08000 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
992ab3081563808fcf0b62af0737654777ba1122 authored over 3 years ago by tangyang9464 <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
275ad34e2cd8803bb6d165b9745cfb179ba72968 authored over 3 years ago by tangyang9464 <[email protected]>feat: change LoadPolicyLine to LoadPolicyArray
8fe458ee7a093cf43e80ab63f90b12895a19e2c2 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
ce5e28170b82fa9a48c3683baa163c6a94529787 authored over 3 years ago by tangyang9464 <[email protected]>fix: data can't contains comma ( , ) character
ed2cfa40c4091064e8cd06d44730f641baec76b7 authored over 3 years ago by Yang Luo <[email protected]>fix: PostgreSql create index occur error
bc167e64e6f0b4ccddf920cebc518c92cce1d381 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
c30a2e5f5a798c372c18d7e025b881526ff053e3 authored over 3 years ago by tangyang9464 <[email protected]>Signed-off-by: 张奇峰 <[email protected]>
232e0dc7643313c292a938136df55d933ed1e7af authored over 3 years ago by 张奇峰 <[email protected]>fix: delete dependency of jackc/pgconn
b1c668977bfb4c6e5586a011f915c9ba4d8d2bfa authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: closetool <[email protected]>
b94bdbb7e5da5b8ee62b529ac84ffc0df351c476 authored over 3 years ago by closetool <[email protected]>fix: new adapter can't change custom table name
e966503844e379c35607d7a576c892ead3ac41d1 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
f11e80718c1721bea151771574678ac73c1c9cb8 authored over 3 years ago by tangyang9464 <[email protected]>feat: adds multiple databases support to gorm-adapter by DBResolver
9500f7f62d505c488deb4b98817fe07728e4b459 authored over 3 years ago by Yang Luo <[email protected]>Signed-off-by: tangyang9464 <[email protected]>
2900499c81d5275596f6b1361549e076fe03f25d authored over 3 years ago by tangyang9464 <[email protected]>fix: gorm dependency error
b448b9d5871c5c7f2b34cf7868da5e52d72e4e5a authored over 3 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
a4773c77fddb94d690d6644aa892760abe28d491 authored over 3 years ago by closetool <[email protected]>fix: github action bot
65243a1111d6ea32826e70b8cdb0e9de96003465 authored over 3 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
10ae09544056b7aae1ac9e224aedc84222648ce6 authored over 3 years ago by closetool <[email protected]>fix: improve log support
6aa5aaaeca010630e5924fd08e01b01cd3b9059c authored over 3 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
e5dd07343eee7908c707594caad2e32cbfb988fb authored over 3 years ago by closetool <[email protected]>* fix(UpdatableAdapter(add method UpdateFilteredPolicies)): upgrade cabin/v2 to v2.28.3, add the...
40a8c16e740da2594ac2990ec32c59565de2f49c authored over 3 years ago by Roger <[email protected]>fix: Printing the supported DB name strings in error message
53e10dc5a358c0d8c1d4f5fcc7faff90d1959a95 authored over 3 years ago by hsluoyz <[email protected]>Signed-off-by: Arafat Nalkhande <[email protected]>
d1e5ce965792d14b9df3889712e6ebc437039af1 authored over 3 years ago by Arafat Nalkhande <[email protected]>fix: postgres can not set timezone
6e03241516532bf162f9581ecaf8d23994d8080c authored over 3 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
48a73a8ac9527209bc63efebbd851e3a4027ce59 authored over 3 years ago by closetool <[email protected]>fa4239f79114122142bce7dfe60c09f8eef5c741 authored over 3 years ago by Yang Luo <[email protected]>
5d2303cb55355e71aef7b0cddec5d2f636d89708 authored almost 4 years ago by Yang Luo <[email protected]>
fix: could not support sqlite in windows without cgo
f1b2de1399b7720cde68637c9a00cb0beb6d3f28 authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
3bc70f9a6f66778f841c29d3b96ddd82007ccce1 authored almost 4 years ago by closetool <[email protected]>fix: add method UpdatePolicies
d2a165c1d0d6a84818f004ac0b4f9f15a30fc378 authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
27269244d9b086b336ee2ba29ad01256f36a9e5f authored almost 4 years ago by closetool <[email protected]>fix: create index when using custom schema
fb0d7291b746e92aa964e0c3d87af089c3df2a4f authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
c1c559e1b1f2e7a3a48c8ecfb3e5047f38c7e019 authored almost 4 years ago by closetool <[email protected]>ci: github action ci and semantic release
ae4ce83ab26d5be81b859fc9d4d9bb15a8cf528d authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
a7903233202050c0a76eaf7e7b6c5479154837f9 authored almost 4 years ago by closetool <[email protected]>fix: remove blank code block
e4604803c843b4399167ebab48b9b63e5027a9c5 authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
8f14dc9a7e8651eb02a3393502c590c8dfee420d authored almost 4 years ago by closetool <[email protected]>5c851cf40b855d8d3cd3be580b334ff2ad71dd5d authored almost 4 years ago by Yang Luo <[email protected]>
ea6bb4d923917f9cf366e9e281ad9275ef2bd467 authored almost 4 years ago by Yang Luo <[email protected]>
115228287704942b18ceb28d0b5ae5860025bee7 authored almost 4 years ago by hsluoyz <[email protected]>
fix: default table name
a91399fea5e4600ed87c068b7d41ae95b79998ca authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
d2ddb95ae305d658d265d5faa0e6726420e536fb authored almost 4 years ago by closetool <[email protected]>* Update adapter.go
remove unique_index tag on CasbinRule to support to create multiple adapt...
7b833fda90dc8db72ee8a183ac9a1aaa88560fcf authored almost 4 years ago by Clare Yang <[email protected]>feat: add sqlite support(#75)
7c0fc818c0ed43602f7e2f31f9f3c4c790a1aa52 authored almost 4 years ago by hsluoyz <[email protected]>Signed-off-by: closetool <[email protected]>
26afbfe0cecb434c5876130f79fb4ef89f3f3743 authored almost 4 years ago by closetool <[email protected]>add custom table support
d4ad5d9aa5106ca2d6d979b195ea08d1c06c8fdd authored almost 4 years ago by Yang Luo <[email protected]>Signed-off-by: Matúš Mrekaj <[email protected]>
fix tests
Signed-off-by: Matúš Mrekaj <m...
dcb03ce0847d0cb1359382b4a8e16e4ff8cf8281 authored almost 4 years ago by Matúš Mrekaj <[email protected]>fix: modify column p_type to ptype(#67)
7f6a2112221f1b83f1f0e57a9f632c5e687feb71 authored almost 4 years ago by Yang Luo <[email protected]>Signed-off-by: closetool <[email protected]>
63d03fbfd550e7b3a5420ffb6dd4021ba91a99ec authored almost 4 years ago by closetool <[email protected]>docs: switch CI to travis-ci.com
1e5f9f9645eff38aa3fc83ea47a037d8f9388206 authored almost 4 years ago by Yang Luo <[email protected]>7fc6ef139d56be49b137cbba64359b49a348f93a authored almost 4 years ago by Yang Luo <[email protected]>
feat: implement UpdatePolicy() API
af18dc6e08dcd8495c4b26ae6a4b96130e9cfa73 authored almost 4 years ago by Yang Luo <[email protected]>Signed-off-by: RobotHuang <[email protected]>
5d78cf4aa5e392a966a329efa11dbb835cc28289 authored almost 4 years ago by RobotHuang <[email protected]>increase column size to 100
50cc1404ba8e4689df4e70c4c7bdaa82af8e5d12 authored almost 4 years ago by Yang Luo <[email protected]>Signed-off-by: Matúš Mrekaj <[email protected]>
8243c5f636d1088a660bfe1b4c737274dc6bb3a2 authored almost 4 years ago by Matúš Mrekaj <[email protected]>fix: add NewFilteredAdapter
ace0e84a769a15737d3e2e618c527b7f77a6100e authored almost 4 years ago by Yang Luo <[email protected]>Signed-off-by: RobotHuang <[email protected]>
8175c08d045798a135678c33deaa1b51b723e82f authored almost 4 years ago by RobotHuang <[email protected]>* update gorm to 1.20.7
Signed-off-by: thnt <[email protected]>
* Update adapter.go
Sig...
aad1b8cc520a7f883d73ddc0b78280265230d1aa authored about 4 years ago by Pi Po <[email protected]>* feat: add unique index
Signed-off-by: 00LT00 <[email protected]>
* refactor: up...
dcbefd9ab8a71b76ce1c4e078878c861a36e63b2 authored about 4 years ago by Zi Lin <[email protected]>style: format code
ff32b464cb13c6555753566550a7cc86939bd649 authored over 4 years ago by Yang Luo <[email protected]>Signed-off-by: 00LT00 <[email protected]>
172feca23e4ee4c0d9d913ac089cfaeb07242f74 authored over 4 years ago by 00LT00 <[email protected]>