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

Merge pull request #51 from miaolz123/master

add default TableName of NewAdapterByDB()

ff42705755823faef612b6c3393988a9b6fb4000 authored about 4 years ago by Yang Luo <[email protected]>
test: more adapter test cases

Signed-off-by: miaolz123 <[email protected]>

34590b60faa2178fb9caa281a936308bd754eab3 authored about 4 years ago by miaolz123 <[email protected]>
feat: use with-conditions session as db

Signed-off-by: miaolz123 <[email protected]>

a0a102ddb783ac8016ebfaa5f6d1790a8c7330ef authored about 4 years ago by miaolz123 <[email protected]>
style: format golang code

Signed-off-by: miaolz123 <[email protected]>

085a5f52b39258d81c4a696c4516fb0093ba20d8 authored about 4 years ago by miaolz123 <[email protected]>
add user define database (#43)

* add user define database

Signed-off-by: 00LT00 <[email protected]>

* fix go test

S...

9cc32f0fb415e9bb5bf152a2f8e06aa6f2d65ad2 authored about 4 years ago by 00LT00 <[email protected]>
Disable sqlite in code & test.

007a8c0e7ae1746f1abd21f01bc7c18e36c205b7 authored about 4 years ago by Yang Luo <[email protected]>
Utilize correct db error when the duplicate database is created (#39)

As per http://v2.gorm.io/docs/conventions.html#TableName TableName() suppose to generate static ...

81c2dc6dfc86f0a580dbee4b36eddfd55c593807 authored about 4 years ago by L1ghtman2k <[email protected]>
Update README.md

ac27d593238767fab2e4642da50454c2f1ade659 authored about 4 years ago by Zixuan Liu <[email protected]>
Added support for gorm/v2 (#36)

* Added support for gorm/v2

Signed-off-by: l1ghtman2k <[email protected]>

* Add gorm-ad...

57a0c400a4d943796ea6787124fe5540517545bc authored about 4 years ago by L1ghtman2k <[email protected]>
Merge pull request #33 from lucidhq/add-remove-policies

Add support for Casbin AddPolicies and RemovePolicies

9ebbe7ed18b8a5cd93c5fd3b9f8a9a3b6388e758 authored over 4 years ago by Yang Luo <[email protected]>
remove explicit tx.Rollback calls as this happens automatically on error, pass tx to rawDelete

632079e0b91b445a2653898cc4a3dc99e120a411 authored over 4 years ago by David Allen <[email protected]>
Use Gorm Transaction with rollback on error for Add/Remove multiple policies

cc74a79ecb27024b7b7d7ef4cbf5f0b3fc9f467f authored over 4 years ago by David Allen <[email protected]>
Add support for Casbin AddPolicies and RemovePolicies

1699fd4676f2a3e0b9997977e5f1be3a3c95a506 authored over 4 years ago by David Allen <[email protected]>
Merge pull request #31 from kuafou/bugfix/fix-readme-demo-error

fix: fix simple example error no handed

fbdb766301c905c1aeb83e5613a9987fe3c37255 authored over 4 years ago by Yang Luo <[email protected]>
fix: fix simple example error no handed

3d29e84079c8ac57b5e8348ff79b57ce81358028 authored over 4 years ago by Qi Jia <[email protected]>
Merge pull request #29 from snyh/master

feat: support empty policy field

6248da3524ed08bef8548c4e50eb6e95cd1f823f authored over 4 years ago by Yang Luo <[email protected]>
Merge pull request #30 from razonyang/patch-1

Update example

3f5bc70ec330d611a7f7cf9abe0580437c3b735f authored over 4 years ago by Yang Luo <[email protected]>
Update example

0afe8ce5b98c0786bf3246c84d036e2f3d3c5847 authored over 4 years ago by Razon Yang <[email protected]>
feat: support empty policy field

see also: https://github.com/casbin/casbin/issues/316

6c0d549b160e8de26aa138fc5f05173febb12eda authored over 4 years ago by snyh <[email protected]>
Merge pull request #25 from riceChuang/master

fix when new multi adapter tableprefix bug

831cce29326105178646497e479f980c63a42a73 authored about 5 years ago by Yang Luo <[email protected]>
fix when new multi adapter tableprefix bug

791decb9ece408c28a9e4a39ab32d3d823c6fc78 authored about 5 years ago by jason_chuang <[email protected]>
Add other badges.

17eaf1bb015a30c0e5367284430cb36f28f46582 authored about 5 years ago by Yang Luo <[email protected]>
Improve badge format.

188a2b57ebb852c2bcb10cbf0994e1baab999921 authored about 5 years ago by Yang Luo <[email protected]>
Merge pull request #24 from riceChuang/master

fix func loadpolicy with tablePrefix

6713b76c899fbccbbfda99c7778a6d9fd273b1be authored about 5 years ago by Yang Luo <[email protected]>
fix loadpolicy with tableprefix

ad9fc32b2ab42171438781684f26ea9372cc5ff9 authored about 5 years ago by MCChuang <[email protected]>
Merge pull request #20 from wumoxi/master

fix:fixed a bug with the specified table prefix

4bda0062ff0c658b45459352ae75440d2b866fa7 authored about 5 years ago by Yang Luo <[email protected]>
fix:fixed a bug with the specified table prefix

e6fe0b31e74da1e9a1d986130e6668d8089816ec authored about 5 years ago by wumoxi <[email protected]>
Merge pull request #19 from wumoxi/master

fix:item specified table prefix, Adapter does not specify table prefi…

8fcaf92cc76f86144e2a4ed23419d02c43bb79bc authored about 5 years ago by Yang Luo <[email protected]>
fix:item specified table prefix, Adapter does not specify table prefix cannot be used problem

6155e23e69dd09c3c1312f4d9b5809a75030d8aa authored about 5 years ago by warnerwu <[email protected]>
Merge pull request #15 from pjediny/go-modules-casbin-v2

Add support for Casbin v2.0.0

f359d633e049a451dbfa5d017b19c80c4469d1a9 authored over 5 years ago by Yang Luo <[email protected]>
Add support for Casbin v2.0.0

start using go modules and mark this version as v2 to indicate
casbin v2 compatibility.

32167fbff7462b95b8ec1504d20b348ee7b3f6ff authored over 5 years ago by Petr Jediný <[email protected]>
Update to Casbin 2.x

b2bca7dd217c3555a43ed82f0662da5e3516c1a9 authored over 5 years ago by Yang Luo <[email protected]>
Remove policy "p, alice, data, 1, 2, 3, read".

9d922cc6a7c5c95291c1b9d8eaba3a075f3f6f2e authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #13 from jleeh/feature/filtered-policies

Support for loading filtered policies

f459753cfb1b46b4e7a22f8e25acc3967ed0c301 authored over 5 years ago by Yang Luo <[email protected]>
Add ptype into the filter

3aa5944f2571d328447c4ea9aa7667400b3f2534 authored over 5 years ago by Jonny Huxtable <[email protected]>
Increase test coverage

51062fa52d4f0af0d8efe15478d5d01221955e10 authored over 5 years ago by Jonny Huxtable <[email protected]>
Add PostgreSQL to CI services

9cb655206551b30153c4bae5f0800eac1f370dce authored over 5 years ago by Jonny Huxtable <[email protected]>
Support for loading filtered policies

b19e6ec3f5ac1fffa64da20f63928a80103dc685 authored over 5 years ago by Jonny Huxtable <[email protected]>
Merge pull request #10 from OGKevin/patch-1

Don't append db name to sqllite when opening connection.

e74a050c51a4c12323e72f0c7ab445fb2daf6b40 authored over 5 years ago by Yang Luo <[email protected]>
Don't append db name to sqllite when opening connection.

This will prevent the following pannic:

```
panic: SQL logic error [recovered]
panic: SQL logi...

ca3c6ca1f2059da7f67ffbddb167b626d5c05bde authored over 5 years ago by Kevin Hellemun <[email protected]>
Merge pull request #9 from BenjaminB64/hiventive

Add a constructor for create an Adapter by a Gorm instance

5f0f4b5ecad7f5259de033c2765c1e9399b23034 authored almost 6 years ago by Yang Luo <[email protected]>
Add an unit test and fix a typo

Signed-off-by: Benjamin <[email protected]>

47c10633023c72d7dc3cd4596c40492d4cd2401a authored almost 6 years ago by Benjamin <[email protected]>
Add a constructor for create an Adapter by a Gorm instance

Signed-off-by: Benjamin <[email protected]>

51dd6bafe496066f91a7be3289d5dc8dc2caadb8 authored almost 6 years ago by Benjamin <[email protected]>
Remove useless rawDelete(), only keep rawDeleteAll().

3c6ecd6f277a6513aedee06cb97b030267d4782e authored almost 6 years ago by Yang Luo <[email protected]>
Merge pull request #4 from maranqz/master

Compatible with sqlite3

e56c6daebd5e8c657caf3bdf3a647803cf7b242d authored about 7 years ago by Yang Luo <[email protected]>
Compatible with sqlite3

2b25d81f7770fd9e7b162a58d7419b1366cc43a9 authored about 7 years ago by maranqz <[email protected]>
Merge pull request #2 from hiteshsethi/feature/add-remove-policy

implemented AddPolicy/RemovePolicy/RemoveFilteredPolicy and unit test…

8e3239544c1cf4bab113bd2311d8d0842086abe8 authored about 7 years ago by Yang Luo <[email protected]>
implemented AddPolicy/RemovePolicy/RemoveFilteredPolicy and unit tests for the same

5029cc169437e780831f3a7fdd259b846467d7c4 authored about 7 years ago by hiteshsethi <[email protected]>
Rename Line to CasbinRule.

2f14421e309bf21f3821e99ae953e5d5c76c2d19 authored about 7 years ago by Yang Luo <[email protected]>
Add dbSpecified.

39c09f4f38608456fea5796b473936e753d7996c authored about 7 years ago by Yang Luo <[email protected]>
Add Travis CI and coverage.

dc0ac96fc5ad8f4c484761b0914ee6f3a4a09068 authored about 7 years ago by Yang Luo <[email protected]>
Add README.

2f78cef552c1774246b93b500a9c9841b1abdd4b authored about 7 years ago by Yang Luo <[email protected]>
Add the code.

c35e55dfe66e438b595a65035ee3b44b794ce842 authored about 7 years ago by Yang Luo <[email protected]>
Ignore IDEA files.

8fea5ffccffb5524303707c19c4d934b855f8fc1 authored about 7 years ago by Yang Luo <[email protected]>
Initial commit

ad08f5dc86b6a3ecb67c456cbf0a30e0dec08d4c authored about 7 years ago by Yang Luo <[email protected]>