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

fix: fix some comment typos (#1374)

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

2f7619fe0f8c1e038b7d1a538672e2cff9883103 authored 10 months ago by yeahyear <[email protected]>
feat: add `.golangci-lint.yml` and apply lint (#1372)

* feat: add golangci-lint config

* ci: update lint ci config

* ci: disable noisy lint rule...

2858196210f79d0f073bcc1d53557dac367674c3 authored 10 months ago by 沐 <[email protected]>
fix: upgrade CI Go version to 1.21

caebc401dee42fa5a1004d5a29600b343faca185 authored 10 months ago by Yang Luo <[email protected]>
feat: add nil checks on RoleManager (#1371)

46136eddcf26a00eb3e94fa0e7c117e8944e43d0 authored 10 months ago by 沐 <[email protected]>
feat: return error in getUserPermissions() related APIs (#1358)

5acc40498bb0a720e86dde4dffccb80fbded93d4 authored 11 months ago by DacongDA <[email protected]>
feat: update IEnforcer for missing domain methods (#1350)

c66aada23606abd050caa4587f50a14f56c18022 authored about 1 year ago by Bart Venter <[email protected]>
Update README.md

96826309249a07afbdaa8829097ecdc3ea690caf authored about 1 year ago by Gucheng <[email protected]>
feat: fix concurrent map writes issue in getCachedResult() (#1348)

Co-authored-by: king <[email protected]>

953c551d15c8f64bbe2149d23c3cf5fd3b12fa7f authored about 1 year ago by yesgs <[email protected]>
feat: support all types for JSON request in ABAC (#1343)

6703d2f87e113696f2f613cde1597fcec6afcf31 authored about 1 year ago by abichinger <[email protected]>
feat: support map in ABAC (#1341)

4d1349af467df69aba9b711525f95fa67f454adc authored about 1 year ago by abichinger <[email protected]>
Remove PerformancePR.yml for security issue

17becaef6cfd033a07874fce1ade4953e6ead8b5 authored about 1 year ago by Yang Luo <[email protected]>
Improve README table

c907b9054e5a179fe7d1f64b3003837de3969bcc authored over 1 year ago by Yang Luo <[email protected]>
fix: requestJsonReplace (#1313)

0ee4a9bbdcc427ed9b9a21b0a5451d4c2056b721 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
fix: fix the ContextRoleManager interface (#1308)

* refactor: ContextRoleManager interface

* refactor: remove RoleManagerWithContext

* Updat...

1cde2646d10ad1190c0d784c3a1c0e1ace1b5bc9 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: add ContextAdapter interface to support context in adapters (#1305)

* feat: AdapterWithContext interface

* refactor: ContextAdapter interface

* Update adapter...

37b0889678670bc9cb6cd250b140a13711b4ada6 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: fix different types of role definition wrong g function (#1307)

3b8840336ccc3b33627d4540e4364b39cf05c884 authored over 1 year ago by voidman <[email protected]>
fix: different types of role definition panic (#1304)

e46d08ee10207a3fd89972e40590f794612e27d1 authored over 1 year ago by voidman <[email protected]>
fix: delete comments for the test case (#1301)

985a9144d9da82d71a096f6e874f228fe6b48800 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: support temporal roles model (#1294)

* feat: support temporal roles model

* refactor: initRmMap

* refactor: Conditional interfa...

a50c61c77acde6f602cfaa79ffdf06be1db86354 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
Improve README

c0c6033e344c606da7c9d8d1a78698d3b2bc159b authored over 1 year ago by Yang Luo <[email protected]>
feat: add g rules to CasbinJsGetPermissionForUser()

ae1a9341510d705722374e4e0961e94f931f9977 authored over 1 year ago by Yang Luo <[email protected]>
docs: update build badge (#1293)

* docs: update build badge

* Update default.yml

* Update README.md

---------

Co-auth...

9ffd73bebfb5202679dc39cf0eff568509f5902f authored over 1 year ago by YunShu <[email protected]>
Update README.md

8d4621f72a66cb3ed2cb377a5646b282843c311c authored over 1 year ago by hsluoyz <[email protected]>
fix: fix broken links (#1290)

cb80c24a8a9ad6cc08508b4fbc93fac8caf42f30 authored over 1 year ago by YunShu <[email protected]>
feat: add AddPermissionsForUser function for SyncedEnforcer struct (#1285)

108943a73e2b4c389aa5129e2331e7e1a5e542e8 authored over 1 year ago by Charles <[email protected]>
fix: Preprocess the access to the request object in the policy (#1279)

18f37ae11d3a95467edaa72799de3cbe85e82667 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: support json request for ABAC (#1277)

* feat: support json request for ABAC

* feat: acceptJsonRequest

* refactor: refactor test ...

25011e0be13281526856f2b8d1c8292a7444659a authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
docs: replace gitter links with discord (#1271)

12c6c5f67f6b0ed2894e963dc690d95c31e93aaf authored over 1 year ago by YunShu <[email protected]>
fix: add EnforceContext' GetCacheKey() (#1265)

* allow enforce context to get cached

* add tests

* Update enforcer_cached.go

---------...

8353eda2716fb0038c5324f3cb7a41e51f36ee0c authored over 1 year ago by Peyman Mortazavi <[email protected]>
ci: change CI benchmark alert threshold (#1266)

4f18f44a619c1045258d3d980348027e3107082d authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: benchmark monitoring action (#1263)

* feat: benchmark monitoring

* fix: action gh-pages-branch

* fix: change gh-pages-branch

9dd1ab08d9600d01779b76528d731a57b41d67b3 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: optimize enforce performance by deleting cache in Match (#1258)

1b14f3a62c4a08a76d47444638e0244082079bf0 authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
docs: fix typo in CONTRIBUTING.md (#1260)

Typo Mistake Improved

749b8aea4c374420a8a54bde4fbf6d1856eedd36 authored over 1 year ago by Harshad Yelpale <[email protected]>
fix: include staticcheck Github action and fix errors (#1255)

Signed-off-by: Sergio Arroutbi <[email protected]>

f4abdbd256ebc0bf2fadbd93b0b1c5c9a5a281f2 authored over 1 year ago by Sergio Arroutbi <[email protected]>
feat: add GetImplicitUsersForResource() API (#1245)

* feat: GetImplicitUsersForResource

* refactor: Split by whether to use domain.

* refactor...

aed1642b5532e2c4e1a933cd3525d3dc87b532ae authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: add GetAllowedObjectConditions() API (#1230)

* feat: AccessibleBy

* fix: fix words

* refactor: AccessibleBy to GetAllowedObjectConditio...

6b2c686aea10f2b2845f015827c00c554b44e17e authored over 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: don't crash if Clear gets called while holding a lock (#1229)

* fix: crash when Clear is called between locks

* fix: add test for invalidate cache and expi...

5d02bc9fa02dbbbbe11ae294f064c6e96c28bd68 authored over 1 year ago by Ahmed W <[email protected]>
fix: update the CI's golang versions (#1226)

2557f8dd4b377596b315e8ad8c17059f718da2b7 authored over 1 year ago by XDTD <[email protected]>
fix: fix keymatch with rbac in domain (#1223)

442557ff072e9992302a6736b688603556bcd3c0 authored almost 2 years ago by imp2002 <[email protected]>
fix: fix AddPolicies()'s bug in SyncedCachedEnforcer (#1221)

7c582e2fcdbb5cc3f8359daad6ac2a141a09f268 authored almost 2 years ago by zhanzhenping <[email protected]>
feat: add sync cache and synced cached enforcer (#1217)

* feat: add sync cache and synced cached enforcer

* fix: SyncCached -> SyncedCached

* fix:...

c6061a2d8041216bb76aa4c376d5451b56ba1c46 authored almost 2 years ago by SnowWarri0r <[email protected]>
fix: Data race in GetImplicitPermissionsForUser (#1210)

1766ecae0d87431ea4140ac71afc84893772c802 authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
fix: add UpdateNamedGroupingPolicy() APIs to implement the IEnforcer interface (#1207)

2942c0b6270905c266e1b5335271eb7edcd42ca3 authored almost 2 years ago by nonchan <[email protected]>
feat: make the default cache expirable (#1203)

ac60b3df0ab4377efb7e5d0cc98c97dc6cd5072c authored almost 2 years ago by Jalin Wang <[email protected]>
feat: merge string-adapter into casbin main library (#1201)

* merge string-adapter into casbin main library

* ignore LoadPolicyLine error

* add commen...

b36df01345b3bb648b8806c9901acce6fcec9303 authored almost 2 years ago by Gordon <[email protected]>
feat: Add methods such as AddPoliciesEx (#1196)

* feat: Add methods such as AddPoliciesEx

* refactor: Add parameters autoRemoveRepeat for add...

ea5ed6b907fb98786e861f8ca453756aea938937 authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
feat: fix locks in SyncedEnforcer Self* management API (#1195)

* feat: SyncedEnforcer Self* management api

* refactor: refactor SortedArray2DEquals

ad511ec3a062ba5a7336fbbbf42362f4f5101b0a authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
fix: add support to use '*' in keymatch5 utils (#1177)

* fix: add support to use '*' in keymatch5 utils

Because :
- current function does not acce...

6c771f6f35836bf42fedec7fef1c3c0045031c63 authored almost 2 years ago by MkDierz <[email protected]>
feat: add GetAllRolesByDomain() API (#1190)

* feat: GetAllRolesByDomain()

* feat: GetAllRolesByDomain()

* feat: GetAllRolesByDomain()

3eff1feb49696adc5f5a6100795502dc8e7da0d9 authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
fix: LoadPolicy() does not reflect the latest results (#1188)

e7dbb9f05d2bc9e10563a5298899b44912c59bd8 authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
fix: SyncLRUCache Get (#1187)

718a1ecb3e861d40e76fa1d4448a47daba9418a2 authored almost 2 years ago by 鱼竿钓鱼干 <[email protected]>
feat: caching the govaluate expressions (#1031)

* feat: caching the govaluate expressions (#1028)

* fix: rename 'expressions' to 'matcherMap'...

540b521da0f969ed8f1b348c6fb34edc0e668a86 authored about 2 years ago by Tim Coninx <[email protected]>
feat: add locks for self functions in DistributedEnforcer (#1153)

5d34828d38b9c3ea506096163dd345c1f4923a26 authored about 2 years ago by cyt <[email protected]>
docs: updated link (#1148)

* Update README.md

* docs(): updated link

b94d12691d01f7df120da97a2e2d7216a6679e5f authored about 2 years ago by r4wand <[email protected]>
docs: updated broken links in README (#1146)

2c79438fd1c08c2abe5b3650c7ab2a44060062d6 authored about 2 years ago by r4wand <[email protected]>
feat: add the missing methods like Match(), AddMatchingFunc() and AddDomainMatchingFunc() to the role manager interface (#1141)

* fix:use the interface to call the role manager

* Update role_manager.go

* Update role_ma...

832631d8b527b9e83e0c31b8a708e9f73ef66c98 authored about 2 years ago by cyt <[email protected]>
fix: remove execute bit for file: util/builtin_operators.go (#1139)

(Delete the executable permission by 'chmod -x' in linux)

Co-authored-by: lhz <1049838691@qq....

1603f56110f81e99a9cf86a0a5a08f445d493d18 authored about 2 years ago by Undómiel <[email protected]>
docs: add github star history to readme (#1130)

c6a36334f6a077ae93cb66f9ff44efe15a35baeb authored about 2 years ago by Tianzhou (天舟) <[email protected]>
feat: Add RoleManagerWithContext interface for handling request timeouts (#1127)

10fbdc22b90a13d3a972d2767a9e1d1115d842aa authored about 2 years ago by Aayush Sarva <[email protected]>
feat: fix sub hierarchy invalid in loadFilteredPolicy (#1117)

63b2757cc60362d974921cb9065809b617d8b527 authored about 2 years ago by imp2002 <[email protected]>
fix: refactor the LoadPolicy in SyncedEnforcer, reduce the lock range (#1109)

4028f8a8f4cf3ee76056da41bbd596ec97baac2a authored over 2 years ago by Guoqiang Ding <[email protected]>
feat: return error in LoadPolicyArray and LoadPolicyLine (#1085)

f58b2c99df610c757ddbda947f985d7f566709e1 authored over 2 years ago by Jalin Wang <[email protected]>
feat: add missing params in WatcherUpdatable interface (#1100)

3f721c48dfab03e84cbdbdec11bc1160c6166f55 authored over 2 years ago by Rainshaw <[email protected]>
fix: crashing when len(oldRule) != len(newRule) in UpdateFilteredPolicies() (#1064)

1d12b98f0a15253692497efed69f85b98545ac5e authored over 2 years ago by Jalin Wang <[email protected]>
fix: typo of SelfSelfRemovePolicies (#1097)

0ebdc71435e5692e7687fb277b95c325ec382e57 authored over 2 years ago by Rainshaw <[email protected]>
feat: add management api for WatcherEx (#1093)

1ebe285de94417590cf78fcff830687c9361b359 authored over 2 years ago by Jalin Wang <[email protected]>
chore: rename `effected` to `affected` (#1082)

74e094778fb3b2c3ed2e7a32d51dbaba59c8df39 authored over 2 years ago by Ter <[email protected]>
fix: GetImplicitPermissionsForUser doesn't support multiple domains for consistency (#1080)

217f3156f4138d8f739751ad2b620fa3d54d5a62 authored over 2 years ago by Ter <[email protected]>
fix: add GetLock for SyncedEnforcer (#1079)

66bb7027b73c102e17f77ffd429e50bd555bf035 authored over 2 years ago by Ter <[email protected]>
feat: support GetNamedRoleManager & SetNamedRoleManager (#1078)

8cf2e0b499540cb41b28dddc5379aaa6e61243a1 authored over 2 years ago by ChenHaolinOlym <[email protected]>
fix: recorrect the name of test function in builtin_operators_test (#1066)

857bd7f49362691392804117ab04eee4d65e8262 authored over 2 years ago by Yibo He <[email protected]>
fix: wrong type of locking (#1061)

2f8b4fcd4e428b1b66746601586ed336c21fe3da authored over 2 years ago by Ter <[email protected]>
ci: update the CI's golang versions (#1057)

9b434269935411da709f6c85a6b59e9ce2401e4c authored over 2 years ago by Ter <[email protected]>
feat: add KeyGet3 for support parsing curly bracket (#1050)

* feat: add KeyGet3 for support parsing curly bracket

* fix: add keyGet3 to function map

7bd496f94f5a2739a392d333a9aaaa10ae397673 authored over 2 years ago by Ter <[email protected]>
fix: add tests for SetFieldIndex&GetFieldIndex (#1044)

* fix: add tests for SetFieldIndex&GetFieldIndex

* fix: add more tests for SetFieldIndex in P...

cfc60ff3ef8c45bf9213c39da92070665439e82b authored over 2 years ago by Ter <[email protected]>
fix: add an error return for updatePolicies() (#1043)

* fix: add an error return for updatePolicies()

* fix: import fmt

f0c2a4fc8e480346a6525822b5e377c0c45f5a5c authored over 2 years ago by imp2002 <[email protected]>
feat: support domain matching when getting permissions (#992)

49154f4de892391ad4841cf042f2867e4886ac32 authored over 2 years ago by Bingchang Chen <[email protected]>
feat: add HasPolicyEx API to determine the policy exist with an error (#1020)

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

2eed55122715e3caee814e6be0e87c6e3ac9e4d5 authored over 2 years ago by Sagilio <[email protected]>
feat: add FieldIndexMap and constant (#1041)

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

d471c722ae507d050df7575aec2b1a1f50039ccf authored over 2 years ago by Yang Tang <[email protected]>
fix(RoleManager): max hierarchy level (#1038)

Signed-off-by: Andreas Bichinger <[email protected]>

314829c4f66b76fbe30313f21de79535dd5868c6 authored over 2 years ago by abichinger <[email protected]>
fix: remove duplicate element when getRoles (#1034)

* fix: remove duplicate element when getRoles

* test: add test for getRoles

5225b867429740e5ffdb69a124c3890f1a66a4f9 authored over 2 years ago by imp2002 <[email protected]>
fix: revert lock less when syncing (#1026)

This reverts commit 756b994db3cff63585de139e173a847e4ceeb0ba.

860d290f060d7ec69396dd13ff299b3f35f1882a authored over 2 years ago by Johannes Würbach <[email protected]>
fix: handle duplicate adapter entries (#1012)

Signed-off-by: Andreas Bichinger <[email protected]>

290ed05ab3ab406e74d2538830410ca2d826a0eb authored over 2 years ago by abichinger <[email protected]>
feat: support GetFilteredNamedPolicyWithMatcher (#1009)

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

f977642024a51f839e0751df569004a5ce4ec7ef authored over 2 years ago by Yang Tang <[email protected]>
fix: Compatible adapter UpdateFilteredPolicies returns the oldPolicy containing ptype (#1008)

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

b1a401c02f124f71b3c01d8842350612375a6c18 authored over 2 years ago by Yang Tang <[email protected]>
perf: add eval to function map (#1005)

Signed-off-by: Andreas Bichinger <[email protected]>

8413b3470d1e89cbb0b9737ef29f5bc9489565b7 authored over 2 years ago by abichinger <[email protected]>
feat: SetWatcher of Enforcer/SyncedEnforcer supports WatcherEx's customized callback. (#1002)

53c637bd7b4d9be1c051ec6819623deb696e4ba1 authored over 2 years ago by Ter <[email protected]>
feat: allow permissions management to use additional p-types (#1003)

c4cf679dfe87889c4228be7172a346282c2efdd4 authored over 2 years ago by Nekotoxin <[email protected]>
fix: roleManager can't match pattern directly (#998)

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

cb944fd5ef0a0029b6e74b8ca658f7dcb72e69f9 authored over 2 years ago by Yang Tang <[email protected]>
fix: EscapeAssertion should escapes "r[0-9]." instead "r" (#991)

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

90f60d678262ab00b772e07166586dfb92b7cf6b authored over 2 years ago by Yang Tang <[email protected]>
fix typo (#989)

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

b993a944ff99882cb4b13f4b53c143cbe2d8cded authored over 2 years ago by cui fliter <[email protected]>
fix: lock less when syncing (#988)

756b994db3cff63585de139e173a847e4ceeb0ba authored over 2 years ago by Johannes Würbach <[email protected]>
feat: log panic stack on recover (#985)

54eba5e1669e7621a62f37f76ff904f6d6c4244e authored over 2 years ago by Eric Hulburd <[email protected]>
ci: upgrade golangci-lint-action to v3 (#981)

Signed-off-by: Andreas Bichinger <[email protected]>

73cd2bcfa90dd7d8479f55fb199bb41e114ce7f2 authored almost 3 years ago by abichinger <[email protected]>
fix: reimplement default role manager (#942)

- split RoleManager into DomainManager and RoleManagerImpl
- add LRUCache and SyncLRUCache
- f...

b6c895ecb9ee42422828befc30e003ca41f25e2d authored almost 3 years ago by abichinger <[email protected]>
fix: wrong locks with `BuildRoleLinks` and `SetWatcher` (#977)

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

371eae6008ef850aff8de7c8c61cdeba4dd03b5b authored almost 3 years ago by Yang Tang <[email protected]>
feat: Add RBAC API for GetAllDomains (#974)

* feat: Add RBAC API for GetAllDomains

* feat: Add RBAC API for GetAllDomains

fb0eb4ed1aaab4fa82425181cba228e78a38cf24 authored almost 3 years ago by Madhav Budhiraja <[email protected]>
feat: added update grouping policies update methods to IEnforcer (#965)

833f1af33cb49776d966fa877b16a7c75eeea427 authored almost 3 years ago by Krzysztof <[email protected]>
test: Update test runners to recent versions of Go. (#967)

Only the last two major versions of Go are supported, so the test
runners should be brought up ...

bb6ffea0b32c3772e95771434f2a7a8eca137b5a authored almost 3 years ago by paul fisher <[email protected]>
perf: Reduce allocations and printfs in G-function cache. (#958)

Previously, the G-function cache used repeated fmt.Sprintf("%v", x)
and string concatenation to...

a6cd9058a900a2beafb81861b35bd5942ad0846e authored almost 3 years ago by paul fisher <[email protected]>