Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/casbin/casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
https://github.com/casbin/casbin

explain the enforcement

5585d2a8dbb52327acaf472e8fa2542ded42927c authored over 4 years ago by dovics <[email protected]>
Scaling ABAC Rules

f227c38abebab91ca112cdb1e4327583f88cf982 authored over 4 years ago by dovics <[email protected]>
Merge pull request #426 from GopherJ/patch-1

casbin-rs is now production-ready

907df7925df1a0e7b565cb915f316278bcb5d19d authored over 4 years ago by Zixuan Liu <[email protected]>
casbin-rs is now production-ready

e9eb4e5c5d392111c4632b28d3c908d85970c72d authored over 4 years ago by Cheng JIANG <[email protected]>
Merge pull request #422 from dovics/fix-readme

fix #420

90d1b93b4a2b07fab0657c8f9c22cddf4bbaf28e authored over 4 years ago by Yang Luo <[email protected]>
fix GoDoc link

72fc327be5f517369dc0a4f0d47907ffe94e900d authored over 4 years ago by dovics <[email protected]>
Merge pull request #417 from DivyPatel9881/mutex-read

Made changes from normal locking-unlocking to read locking-unlocking for getters.

cd7fa145d7052537f3a492c14b646edc736aabb7 authored over 4 years ago by Yang Luo <[email protected]>
Made changes from normal locking-unlocking to read locking-unlocking for getters.

e4e1ec80ff3b33af84f2b465c53950523b258d49 authored over 4 years ago by DivyPatel9881 <[email protected]>
Merge pull request #416 from casbin/revert-414-master

Revert "ci: integrated goreleaser"

ac35eadb651510fb789afaf86eeb63ecb5c8b728 authored over 4 years ago by Yang Luo <[email protected]>
Revert "ci: integrated goreleaser"

5011f31694c117b4d63dc5a309b58e366df44e82 authored over 4 years ago by Zixuan Liu <[email protected]>
Merge pull request #414 from nodece/master

ci: integrated goreleaser

04c96314107df0803aa1e7ffaf3cd4784911a88c authored almost 5 years ago by Yang Luo <[email protected]>
ci: integrated goreleaser

84f65fb268eb326ca3cf9784503639ea308f69fb authored almost 5 years ago by Zixuan Liu <[email protected]>
Added support for the CONF files having just comma (no spaces) separated values. (#413)

* Added support for the CONF files having just comma(no spaces) separated values.

Made change...

e7e0e3ff0bb16ba469ce3dc0c6c5a658edcedecb authored almost 5 years ago by DIVY PATEL <[email protected]>
Merge pull request #409 from DivyPatel9881/Missing_functions

Missing member functions added to the interface.

7fef01cb14dbe72caabea4bcef13583b57e3d84d authored almost 5 years ago by Zixuan Liu <[email protected]>
Missing member functions added to the interface.

c181e55eb5e9427bcced04390de2809768745ea0 authored almost 5 years ago by DivyPatel9881 <[email protected]>
fix: return panic error when enforce (#395)

* fix: return panic error when enforce

* fix: change response bool name from isOk to ok

10eaf10a1cfdc67b68f8e47bf9dc557f97cc154a authored almost 5 years ago by jony montana <[email protected]>
Merge pull request #403 from dovics/fmt.Errorf

Use fmt.Errorf() replace errors.New(fmt.Sprintf())

3acf65492a90c56f821e31c19d783dafc6a12301 authored almost 5 years ago by Yang Luo <[email protected]>
Use fmt.Errorf() replace errors.New(fmt.Sprintf())

9eaafb3b84fdfc7c85edaaacae7c4473ba23211a authored almost 5 years ago by dovics <[email protected]>
Fixed some formatting errors

14f82ed5c17290fdfcea796e0a482ceec89e8e6a authored almost 5 years ago by dovics <[email protected]>
Move WatcherEx to a separate file

d8a218799d9422f5e2d6aa0cf6a160630642597c authored almost 5 years ago by dovics <[email protected]>
fix codeclimate

fix codeclimate

5bcfb2cd9f5cbb09ec22402fa28a5dbffcfa9cdd authored almost 5 years ago by dovics <[email protected]>
Added multiple add and remove policies API functions. (#388)

* Added multiple add and remove policies API functions.

* Some performance upliftments and ad...

a4ae51d0e24f621d6e1dcd704c059e73194b5eb5 authored almost 5 years ago by DIVY PATEL <[email protected]>
Merge pull request #397 from dovics/add-glob-operation

Add a globMatch() built-in matching function

b5796dd99fbc11c0a92e751cef5f48f16f19711a authored almost 5 years ago by Yang Luo <[email protected]>
Add WatcherEx for change's detail

623263774065d1ff6f1d97521d0910187ffca601 authored almost 5 years ago by dovics <[email protected]>
return panic err in GlobMatch

9df93aec96def25d5f613e09a2e689bf9bd211a3 authored almost 5 years ago by dovics <[email protected]>
Add glob match

Add glob match

25b8673c0b145447ccd9f6639b08c5d43f3529e3 authored almost 5 years ago by dovics <[email protected]>
Merge pull request #392 from nodece/master

Return errors in builtin function

7a8096d49b95982fb6c9dd8fb254004047d63250 authored almost 5 years ago by Yang Luo <[email protected]>
Return errors in builtin function

f7a0193633aec1f534e195d9a4198404b7f4d191 authored almost 5 years ago by Zixuan Liu <[email protected]>
Merge pull request #380 from titandc/synced-loadfilterpolicy

Add synced version of LoadFilteredPolicy.

53116d0ba1f07f0277b06a471922180977bc062c authored almost 5 years ago by Yang Luo <[email protected]>
Add synced version of LoadFilteredPolicy.

00adc7ba1b8f224e4c7e58e79a39855e9a37b59e authored almost 5 years ago by Vincent Kherbache <[email protected]>
Fix wrong return types for methods in IEnforcer (#373)

* fix IEnforce wrong type for method

* modify function type

bd6475642a8a78fa1c7444bcc20582d39bea23f2 authored almost 5 years ago by dovics <[email protected]>
Merge pull request #366 from nodece/master

feat: controls whether to automatically notify Watcher

5baaaaca93613c1dd5638ec77e43a7a1b7e09a0e authored almost 5 years ago by Yang Luo <[email protected]>
feat: controls whether to automatically notify Watcher

fd75b44c6b25cb6c1d5de2430c417a64e130577a authored almost 5 years ago by Zixuan Liu <[email protected]>
Merge pull request #364 from Sefriol/fix-delete-user

fix(rbac_api.go): DeleteUser should remove Policies + Grouping Policies

3f90d89f3c660fea0ebaa795c849b7a0dc9ad687 authored almost 5 years ago by Yang Luo <[email protected]>
fix(rbac_api.go): DeleteUser should remove Policies and Grouping Policies

Previously it just removed Grouping policies. Now it shares same implementation as DeleteRole
ca...

f33647dda920d0d76d7193ff72d37ab8213e49c8 authored almost 5 years ago by Sefriol <[email protected]>
Merge pull request #362 from Dasio/master

Go idomatic stopping goroutine for auto load policy

c677db1c02d14023237ac556da5aff29a6ccc01d authored almost 5 years ago by Yang Luo <[email protected]>
Check if auto load is running before trying to start another one

a0e3befd936a87aa5468d3f4dfab3c442c9e5a9b authored almost 5 years ago by Dasio <[email protected]>
Go idomatic stopping goroutine for auto load policy

fc6bc7dcf8967b5afc0371181ebeb78c14b7162f authored almost 5 years ago by Dasio <[email protected]>
Merge pull request #361 from aroldanz/fixseparator

Fix syntax errors on multiline config sentences

f5d9df4db1f2e40248d946a4fa1e226715b156ad authored almost 5 years ago by Yang Luo <[email protected]>
Fix syntax errors on multiline config sentences

- The actual code strips the multiline char but sometimes
it leads to syntax errors because not ...

1ce31140f878733eba5ae800659b096a48949346 authored almost 5 years ago by Andres Roldan <[email protected]>
Merge pull request #351 from neelofer-appdirect/catchPanic

Handle panic in enforce

ea07e65dbd3fb5cda1b12e9030038d31a9f7a457 authored almost 5 years ago by Yang Luo <[email protected]>
Handle panic in enforce

fa1de0e2e664ee14cdbdc2fbf8f568dc86156f4f authored almost 5 years ago by neelofer-appDirect <[email protected]>
Change link to case sensitive CONTRIBUTING (#346)

3353ce9a5c1205808bc165cfff82aa2da6f55b4e authored about 5 years ago by jruizaranguren <[email protected]>
Merge pull request #343 from jruizaranguren/master

Improve contributing documentation casbin/casbin#322

08fbd3d30bd35a5ec19c45d6d0861ab857ea2e06 authored about 5 years ago by Yang Luo <[email protected]>
Improve contributing documentation casbin/casbin#322

5f2d51cb29b3c987caa571cee20fb72f898f6fdc authored about 5 years ago by jruizaranguren <[email protected]>
Update casbin-rs link in README

Update README with correct link to Rust's Casbin repo -- casbin/casbin-rs#23

e78de058fad2af03f4f942e6524d0ed39a88aabd authored about 5 years ago by Kyle McCarthy <[email protected]>
Merge pull request #340 from mousedownmike/333_loadpolicyline

LoadPolicyLine Required Section Check

1d94d2cde17c28d013b0ee21870269a1edba43ed authored about 5 years ago by Yang Luo <[email protected]>
#333 added check for required sections to loadModelFromConfig. This included adding hasSection() method, and requiredSections slice. Tests added for this functionality.

Also (unrelated), moved check for empty value to the top of AddDef.

ea03d9b8e41e0a855e599a980c916e6e3ab85d73 authored about 5 years ago by Mike Dalrymple <[email protected]>
Refactor out loadModelFromConfig().

51dd9a02ef850b0b5a7a3fbbeffdf5d0c20509a8 authored about 5 years ago by Yang Luo <[email protected]>
Merge pull request #331 from nodece/master

Fix #329

31a4cf3e119fdace8f02263315e83ca37a3fcc18 authored about 5 years ago by Yang Luo <[email protected]>
Fix #329

164e01ce1aeca7994fb39f8f7caa073b7d7298aa authored about 5 years ago by Zixuan Liu <[email protected]>
Merge pull request #325 from transcelestial/master

fix: fix function mapping in concurrent envs and close #323

d708484272cab63fad30edc706d10e2eeaec90f9 authored about 5 years ago by Yang Luo <[email protected]>
fix: fix function mapping in concurrent envs and close #323

86847cf8ae8992ec7a9e097b74abbee6e76bd225 authored about 5 years ago by Roland Groza <[email protected]>
Fix header and v2 for Enforcer interface.

a44af32f7286622294799b9d818899b153628f51 authored about 5 years ago by Yang Luo <[email protected]>
Merge pull request #319 from 7abhishek/feature/issue-318

Added Enforcer Interface to enable testing/mocking on client's end

92282e8b768bbbd70317d551aaec82a010d51f02 authored about 5 years ago by Yang Luo <[email protected]>
Added Enforcer Interface to enable testing/mocking on client's end

* Used ifacemaker (https://github.com/vburenin/ifacemaker) to generate the interface automaticall...

930b349d6b9d18c82914036355b0fae91f57417a authored about 5 years ago by abhishek <[email protected]>
Merge pull request #314 from techoner/patch-2

Improve the performance of NewEnforcer().

86cf8d05c93730389a99babe7cefb73bc8f3a8a0 authored about 5 years ago by Yang Luo <[email protected]>
Improve the performance of NewEnforcer().

3af48dc3cb9459663b38a80afcb365fee24ee871 authored about 5 years ago by Foufou <[email protected]>
Merge pull request #311 from yutita/patch-1

Add current go version to Travis

ac70fb4fa1cc5153fd7619f0b5c836575a31079c authored about 5 years ago by Yang Luo <[email protected]>
Add current go version to Travis

e497fdf24eef4076aaf0138f7456e1e1bc7c2994 authored about 5 years ago by yutita <[email protected]>
Merge pull request #310 from Orefa/master

fix the threading problem of the Enforce method of the SyncedEnforcer

cae83f7bf90343e36ef1d2d52051153655767da6 authored about 5 years ago by Yang Luo <[email protected]>
fix the threading problem of the Enforce method of the SyncedEnforcer

87cc71a1f611930a1fe0fa5225e6a3aa9f07fc82 authored about 5 years ago by Orefa <[email protected]>
Merge pull request #308 from shihanng/fix-doc-code

Properly indent sample code in doc

0e1ff434a1dc861dd7664aa71a7c85ba7bf387dc authored about 5 years ago by Yang Luo <[email protected]>
Properly indent sample code in doc

2df8def416e822c564f99bb15b75f9472bf55d6e authored about 5 years ago by Shi Han NG <[email protected]>
Merge pull request #305 from Nowher2/bug_fix

Fix the bug that SyncedEnforcer DeleteRole() doesn't return error

a7c7f9886e005b7f90dc9b721afee7ea7d9d358d authored about 5 years ago by Yang Luo <[email protected]>
Fix the bug that SyncedEnforcer DeleteRole() doesn't return error

b4058fe4f3e7543a30bcc704ca3e9d8150b99ac3 authored about 5 years ago by tenda <[email protected]>
added getter for RoleManager (#303)

e745107dd3ad01fa2f560bb33dd4466be4135e9f authored about 5 years ago by Asutosh <[email protected]>
e.GetAll<>() now gets results across all ptypes (#301)

* e.GetAll<>() now gets results across all ptypes

* changed terminology from PType to Type

767e8cf47e2592740934007e85f6970497dbcd5d authored about 5 years ago by Asutosh <[email protected]>
Merge pull request #300 from asutosh97/patch-1

replaced explicit for-loop assignment with direct copying.

b06aa8c42611c7d198724e2c1de932192d3eb57e authored over 5 years ago by Yang Luo <[email protected]>
replaced explicit for-loop assignment with direct copying.

d8ba42c7b33ff77cdf35be7993b2922084bcd92c authored over 5 years ago by Asutosh Sahoo <[email protected]>
Use govaluate.ExpressionFunction wherever suitable. (#298)

ef34840bc9eda4fb3dda8564ea2f7a062aed8cd4 authored over 5 years ago by Asutosh <[email protected]>
Merge pull request #297 from asutosh97/patch-1

Update README.md

66e81cb1191402726540ce4a524f296413df7012 authored over 5 years ago by Yang Luo <[email protected]>
Update README.md

c96fb9f5c8185ebdb326f89b211d97d025b45bed authored over 5 years ago by Asutosh <[email protected]>
Add KeyMatch4(), fix: https://github.com/casbin/casbin/issues/281

8e9b785498b544463e30f055e3a012a0d32fba64 authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #283 from nodece/master

Add EnforceWithMatcher method

8d5c74860791108826f7099414afa027660a65c8 authored over 5 years ago by Yang Luo <[email protected]>
Add EnforceWithMatcher method

5a306a696f538c4b010578c842c1ef27d4ced22d authored over 5 years ago by Zixuan Liu <[email protected]>
Merge pull request #280 from umq/master

add missing methods in management_api to SyncedEnforcer

060f0429e2ebe92d7163ef2a0d805330d52de5ca authored over 5 years ago by Yang Luo <[email protected]>
add missing methods in management_api to SyncedEnforcer

c9bcec59a8d1a37f4abdde5cee452f74723f4377 authored over 5 years ago by Hirohisa Yamaguchi <[email protected]>
Remove language-specific text in README.

6100a6f7a2c4cb5708892f3e6dba55600e405c4a authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #276 from XanthusL/master

Minor change: Guard clauses

13f6fca3b0958079b95fb00b98b7bb5574021a8f authored over 5 years ago by Yang Luo <[email protected]>
Make linters happy

e262b86d49aed4a5ec2dba819449c03740c2ed56 authored over 5 years ago by liyiheng <[email protected]>
Call initialize() in LoadModel() and SetModel(), fix: https://github.com/casbin/casbin/issues/271

6734a1db31f9ea82570c34a83d83933a1248ef0b authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #269 from ctxnop/master

Test for a logger and use string.Builder

1d1ae8c557d8ee2e1409479b2b5a064b88bb5929 authored over 5 years ago by Yang Luo <[email protected]>
Test for a logger and use string.Builder

This code shows a big performance issue when inserting many policies in
a row. This is because i...

e4fa562d666617971d51d757a9442dab4948bf95 authored over 5 years ago by Loïc Collignon <[email protected]>
Improve the model related handling.

5c217886e47a7f9adc0c2b50c0ccda1980b4684d authored over 5 years ago by Yang Luo <[email protected]>
Refactor NewModel(), add NewModelFromFile() and NewModelFromString().

0be51c9a1dfc06d543c52e29ab26dca16357109f authored over 5 years ago by Yang Luo <[email protected]>
Update README for Casbin 2.x

fd8fb17a3895fab3b5ee4a451f13a0cacdd3afa6 authored over 5 years ago by Yang Luo <[email protected]>
Drop Go 1.10 support as we migrate to Go 1.11 Modules now.

6207e32cc3825efe064741ace1673cb2bde82ad5 authored over 5 years ago by Yang Luo <[email protected]>
Update import paths of 2.x for Go Modules, based on: https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

cf0098690c0b281619e459c5780eaf4b27f77e00 authored over 5 years ago by Yang Luo <[email protected]>
Improve error handling for savePolicyFile() and SetWatcher().

796c406eb6af2356a4d7fa9798954c43a9487315 authored over 5 years ago by Yang Luo <[email protected]>
Return error instead of causing panic for API functions.

2cd38e82a4917cce59de520e73f706827624a871 authored over 5 years ago by Yang Luo <[email protected]>
Return error instead of causing panic for non-API functions.

ce253cf2728493c42799919d7bd6c2c324a22dc8 authored over 5 years ago by Yang Luo <[email protected]>
Add the code coverage badge back.

9b590d61dac9cfc04543f8735735a2768131f5ad authored over 5 years ago by Yang Luo <[email protected]>
Add used-by badge.

85759bf34635bf6a81c7337c903af4f027c326a2 authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #258 from billcobbler/master

Add Close() to SampleWatcher, fix: #253

aaed1b7a7eac65d37ec4e15e308429fdf0bd6a9e authored over 5 years ago by Yang Luo <[email protected]>
Add Close() to SampleWatcher, fix: #253

f4a00af6c7468dca08317be1afb4edaa3e4966ea authored over 5 years ago by Unknown <[email protected]>
Add Close() method to Watcher interface, fix: https://github.com/casbin/casbin/issues/253

a0dcac37067c1c2e98b0f3abd879b4fdb276cc19 authored over 5 years ago by Yang Luo <[email protected]>
Use read locks for synced RBAC API, fix: https://github.com/casbin/casbin/issues/257

1e070f9754e1f972392063b352a228a3cfdacd5c authored over 5 years ago by Yang Luo <[email protected]>
Add GetImplicitUsersForPermission() RBAC API, fix: https://github.com/casbin/casbin/issues/250

ae826fd9c117c839198e23e93e34df2234fa7910 authored over 5 years ago by Yang Luo <[email protected]>
Refactor out util's JoinSlice() from RBAC API.

4c4ba9bde4733aad2186532a7cf9f2a59f76144f authored over 5 years ago by Yang Luo <[email protected]>