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 Golint warnings.

08b908f118f9ae9ff01a92fc33c848d4e5f57fad authored over 7 years ago by Yang Luo <[email protected]>
Improve TestEnableAutoSave() example.

238a27a834d89b8b9ccd88987e7d9b80f042508c authored over 7 years ago by Yang Luo <[email protected]>
Rename the policy parameter to rule.

7fa8ef535e77e1768fc56e7c12a48922f7617c27 authored over 7 years ago by Yang Luo <[email protected]>
Add TestEnableAutoSave().

5f66b85e741ba2d1f026043a1a04fb8705b158e2 authored over 7 years ago by Yang Luo <[email protected]>
Rename TestEnable() to TestEnableEnforce().

474b007a3a4684bbdbdf80bb0c5805b300b5423a authored over 7 years ago by Yang Luo <[email protected]>
Rename the folder from fileadapter to file-adapter.

9507866668f8172ce21ccfcb753c51f72274495e authored over 7 years ago by Yang Luo <[email protected]>
Update the link for File Adapter.

7319f69044bcdcb361f57732283d5efaf23e8494 authored over 7 years ago by Yang Luo <[email protected]>
Rename persist.FileAdapter to fileadapter.Adapter

b44cdec2823c326c4eb95916200e16f6b30bb752 authored over 7 years ago by Yang Luo <[email protected]>
Casbin will save policy line by line when the autoSave option is enabled.

c949f8568ca04d998d1bd44e9e5f9fc0ee6ce079 authored over 7 years ago by Yang Luo <[email protected]>
Add RemoveFilteredPolicy() to adapter.

f007bada4af2a9950e7a71931991052bd9de1d50 authored over 7 years ago by Yang Luo <[email protected]>
Rename alreadyExisted to ruleAdded.

ae1803569a94438ae25032cce59e11ff7de6672d authored over 7 years ago by Yang Luo <[email protected]>
Improve the parameters of AddPolicy() and RemovePolicy() in adapter.

9a105dfcb092cb072a2f264088bff70f5cbeb3dd authored over 7 years ago by Yang Luo <[email protected]>
Return whether any rule is deleted for the series of RemovePolicy() functions in Management API.

bc75eb10bc286213797698bf86b46aac9524c6d3 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out the Internal API.

9658209690514490925ceb3f6556dabc8f3bbc16 authored over 7 years ago by Yang Luo <[email protected]>
Rename SetAutoSave() to EnableAutoSave().

8bb4893308c866d47c29f76d4888a8202e80faac authored over 7 years ago by Yang Luo <[email protected]>
Rename Enable() to EnableEnforce().

3e5cf2d4f160d2105c668fbeda29b905cc39e380 authored over 7 years ago by Yang Luo <[email protected]>
Add autoSave option to the enforcer.

4bea4b87b5b2b6a986afdf4b0029db7c360854bc authored over 7 years ago by Yang Luo <[email protected]>
Add AddPolicy() and RemovePolicy() to adapter. So policy can be added or removed line by line via the adapter. It solves: https://github.com/casbin/xorm-adapter/issues/2

2c1892448dc05761b048bc5cb910102814aea8cb authored over 7 years ago by Yang Luo <[email protected]>
Add Baa to our adopters in README.

b10bb4232d865f8825933f70b16d1fa4a128c114 authored over 7 years ago by Yang Luo <[email protected]>
Merge pull request #31 from gmile/patch-1

Adjust code blocks in Readme

42f4f17ac355cccbbd09c4a798e4ac93a7d0dd74 authored over 7 years ago by Yang Luo <[email protected]>
Adjust code blocks in Readme

01cc11fb7cbe745b9fda7c590c3090224ca12e0d authored over 7 years ago by Eugene Pirogov <[email protected]>
Rename to Policy persistence in README.

6f8f9d7af0b7140910f23fc9c8a0ef7cfbedb55c authored over 7 years ago by Yang Luo <[email protected]>
Add TOC to README.

0afbd55743444660f6ff7353409b4d8220a260fa authored over 7 years ago by Yang Luo <[email protected]>
Add How-it-works header.

f29119d0da09a2f4ca36fc25cd6d88fd9b8c28a2 authored over 7 years ago by Yang Luo <[email protected]>
Remove Model.md

b92c4946dd24b15926fe41681fb4e8468ccc8fa2 authored over 7 years ago by Yang Luo <[email protected]>
Point to our wiki in documentation.

81dd5894a925132368406a41709d8606f50fa7f0 authored over 7 years ago by Yang Luo <[email protected]>
Move the part of the persistence section from README to wiki.

ae455c28980b21067c0495c4544b3261778da720 authored over 7 years ago by Yang Luo <[email protected]>
Move the remove-dependency-on-files section from README to wiki.

331dd07d7dd7b71a344fd29e0f656f3c49e260b0 authored over 7 years ago by Yang Luo <[email protected]>
Move the logging and error handling sections from README to wiki.

95e856e8091f65453cdafad236ae60ca3d4d1131 authored over 7 years ago by Yang Luo <[email protected]>
Describe the logging in README.

54310572940b8ad76d7632d26980cc2f50401821 authored over 7 years ago by Yang Luo <[email protected]>
Rename a variable in code.

b9cd2450e38b54a924da7c47d3e616c88cc7f323 authored over 7 years ago by Yang Luo <[email protected]>
Describe how to initialize the model from a string in README.

b173bc2e9dc0c12d512b145129431328662403db authored over 7 years ago by Yang Luo <[email protected]>
NewModel() can create a model with a text now.

389bc66bebef0703033ea83e3cfeeef602430f55 authored over 7 years ago by Yang Luo <[email protected]>
Support loading model from an entire string.

9ffae0de803cddf145489d663f7f02a163425274 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out parseBuffer() in config.

e5a5ca3827ecf0ce1a26afa1cf8a5aad64a948dc authored over 7 years ago by Yang Luo <[email protected]>
Rename the in-memory model examples.

e99f2be662a3261e370c1c2085b8e60e58ad87a8 authored over 7 years ago by Yang Luo <[email protected]>
Add Iris to our users in README.

e4306306e1be703faaf0bb4043a463a6f7189c67 authored over 7 years ago by Yang Luo <[email protected]>
Improve the matcher functions in Model.md

201d3a139f74945e2a66dced08b0652c0fadc12a authored over 7 years ago by Yang Luo <[email protected]>
Add Xorm adapter in README.

7e752778ce6ef719e69e32aa988502105a03439b authored over 7 years ago by Yang Luo <[email protected]>
Add creating model manually instructions.

89be0c4e5992cf6a4930a3bfea832ee62d6150a0 authored over 7 years ago by Yang Luo <[email protected]>
Improve the printing code in Enforce().

24357417f2720c92158c682e35c69a0cf4005146 authored over 7 years ago by Yang Luo <[email protected]>
Add TestCreateModelManually3() example. And fix the crash if "g = _, _" is specified in the model, but not used in the policy.

120a03f49336b0834a3721429ce81a4f86e3a295 authored over 7 years ago by Yang Luo <[email protected]>
Add TestCreateModelManually2() example.

130db5a3aa8dd4721d56daf27486989a360def03 authored over 7 years ago by Yang Luo <[email protected]>
NewEnforcer() can be called with the model arg only.

7dc9e0a6cb87d79c2f77297a21da27222f48e114 authored over 7 years ago by Yang Luo <[email protected]>
Add Supported models title to README.

6137d68a78ee0479cd1689345267b264e0365cfa authored over 7 years ago by Yang Luo <[email protected]>
Add Redis adapter in README.

80cb461aed7ea9cb50ce0f4e2abbb6fb6b718169 authored over 7 years ago by Yang Luo <[email protected]>
Describe error handling in README.

df2b6a361b9ed1803f71b8561653d4be898dc115 authored over 7 years ago by Yang Luo <[email protected]>
Remove LoadConfig() which parses casbin.conf

57373dd1d3fe2f0e8e6da81311f838f43f525375 authored over 7 years ago by Yang Luo <[email protected]>
Remove LoadPolicySafe()/SavePolicySafe() in mgmt API because LoadPolicy()/SavePolicy() already return errors.

2a78337ba3c320372618f9cc822b3ba20f7b290d authored over 7 years ago by Yang Luo <[email protected]>
Rename casbin to Casbin in comments.

4b45797044abee6c86eb68cc5770b371690da155 authored over 7 years ago by Yang Luo <[email protected]>
Improve the error handling of LoadPolicy().

4f1165fca41bfa8ef2e78def34645e97e6f9f483 authored over 7 years ago by Yang Luo <[email protected]>
Update the file adapter link in README.

8b4985309e996a5831b944028c73dfc5467c8487 authored over 7 years ago by Yang Luo <[email protected]>
Add Protobuf adapter in README.

91e4fb9209910a1de86b67adc0fce5c35f17369f authored over 7 years ago by Yang Luo <[email protected]>
LoadPolicy() and SavePolicy() return errors now.

395283d8f3063b6e41a0a9a1063e8f656b1989da authored over 7 years ago by Yang Luo <[email protected]>
Improve the TestModifyPolicy() and TestModifyGroupingPolicy() examples.

94d4594375326b496a9438f0fc937c2ffe4aa21f authored over 7 years ago by Yang Luo <[email protected]>
Add GetFilteredGroupingPolicy() to mgmt API.

c1ae0248d0f4371bbf9815782e59505cdae6593d authored over 7 years ago by Yang Luo <[email protected]>
Fix the bug in model creation the functions are not initialized.

27a24f1712c2b786be8b3fc996e0c513d35bae67 authored over 7 years ago by Yang Luo <[email protected]>
Move NewModel() to mgmt API.

f2e5589f4b94d2d3ab9ba49b0edb8a967474af93 authored over 7 years ago by Yang Luo <[email protected]>
Support model object as 1st param in NewEnforcer() API.

4b48793787daf17bb5e9d343281bae8ee76471dc authored over 7 years ago by Yang Luo <[email protected]>
Add NewModel() to Model API.

1421bf710c0b514f042dfd08657d703b5da5df8a authored over 7 years ago by Yang Luo <[email protected]>
Rename AddAssertion() to AddDef() in Model API.

34acaaf738dd474879b7e8f9dab87fd57b608204 authored over 7 years ago by Yang Luo <[email protected]>
Add GetAdapter() and SetAdapter() to mgmt API.

d52748797b9c38dd2ea02d13e866a79dffb548cc authored over 7 years ago by Yang Luo <[email protected]>
Don't load policy for empty model in InitWithAdapter().

367409128613030fb886213b7e38c763747d517d authored over 7 years ago by Yang Luo <[email protected]>
Simplify the code with returning err.

4d12d4207dcb6a10f3863319b3b2dd77a0fed29e authored over 7 years ago by Yang Luo <[email protected]>
Remove AddSubjectAttributeFunction() and other two legacy ABAC functions in mgmt API. Please use the new ABAC feature.

e02c9327f5e0fe4eddd47e9575479d12ec7c59c9 authored over 7 years ago by Yang Luo <[email protected]>
Updated the link of consul adapter.

60168294ecddb27ad0a571e5f7fb7ca2378f2636 authored over 7 years ago by Yang Luo <[email protected]>
Add return value for AddRoleForUser() and AddPermissionForUser() in RBAC API.

a22e229f6b64614db51b7251a56018698a260f36 authored over 7 years ago by Yang Luo <[email protected]>
Add return value for AddPolicy() and AddGroupingPolicy() in mgmt API.

e9068e185efb8642a26ec9c4ea40cabb3e7b26f6 authored over 7 years ago by Yang Luo <[email protected]>
Update the comment of NewEnforcer().

306493923cabe9202856cafd1b8e961677377ba8 authored over 7 years ago by Yang Luo <[email protected]>
Add QQ group link to README.

ba0bef4c9fe5f37c90fa46eb54c2d2028bd1bca5 authored over 7 years ago by Yang Luo <[email protected]>
Describe the new ABAC model in README.

8bae058da110e793de0f80766f3f8ee2be6a3551 authored over 7 years ago by Yang Luo <[email protected]>
Fix the error in wrong model path test.

f0111a3471e9f72bbee5c4d95666c20c8216b08b authored over 7 years ago by Yang Luo <[email protected]>
Add GetUsersForRole() to RBAC API.

315d85963ae028d857189a9d58335a576a408dfd authored over 7 years ago by Yang Luo <[email protected]>
The model can be constructed in code manually now, see example: TestCreateModelManually.

1549e4454ded0468806eadabf408f6741a4223e2 authored over 7 years ago by Yang Luo <[email protected]>
Allow empty model path in NewEnforcer().

ecbac6086a30fc4c9d2b904629fb5f3b5fb7800f authored over 7 years ago by Yang Luo <[email protected]>
Make AddAssertion() a member function for model.

687e44741c4ed8e828af16486cde7b9671bead1d authored over 7 years ago by Yang Luo <[email protected]>
Refactor out AddAssertion() API in model.

b94799580bd61f4eeadf91722aec85e9ffc6b60e authored over 7 years ago by Yang Luo <[email protected]>
Add SetModel() to management API.

2e2efaf095397c43eab9875c3961dfd189808b1d authored over 7 years ago by Yang Luo <[email protected]>
Panic if govaluate reports error.

fa5ab2020f83071709bf2d2f0726794aa8295a36 authored over 7 years ago by Yang Luo <[email protected]>
Simplify ABAC model with the accessor feature of govaluate.

a42d587b640f0c11894a1f3be8f20fc5b5111d94 authored over 7 years ago by Yang Luo <[email protected]>
Improve the request printing in Enforce().

be9f238b09713d6b802039ff3f3022fb9324e4d5 authored over 7 years ago by Yang Luo <[email protected]>
Update GetPermissionsForUser() in RBAC API to return all elements.

78f754efe3462ef48ff7c1cff352a740efc84542 authored over 7 years ago by Yang Luo <[email protected]>
Add HasPermissionForUser() to RBAC API.

fc4754be98b354480be080c5bf21629de8883e63 authored over 7 years ago by Yang Luo <[email protected]>
Add HasPolicy() and HasGroupingPolicy() to management API.

77e384374e17e8822902e7ad43e16739def2bd48 authored over 7 years ago by Yang Luo <[email protected]>
Support multi-element permission operations for RBAC API.

e2b14df4bb9b2bedb352091e8229fc3df440eba0 authored over 7 years ago by Yang Luo <[email protected]>
Update README for the new adapter repo address.

db213bf042e08e720a56020cf55ee70317ff5beb authored over 7 years ago by Yang Luo <[email protected]>
Merge pull request #27 from ankitm123/master

Return error from adapters

0d0e2788174cf1c8d1da93b194b68559e5b3ba97 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out the safe functions.

bce71c220689a9af3900156d4cb22065200227fc authored over 7 years ago by Yang Luo <[email protected]>
Merge remote-tracking branch 'upstream/master'

bea7f2340d45eaa74491123c67eb96134a55109b authored over 7 years ago by ankit <[email protected]>
Return error from adapter

7b7246450692a88a28e3700bed57fce3464a2566 authored over 7 years ago by ankit <[email protected]>
Adjust the format for variadic functions.

290f287f46f9fb1a4f5c17ac56fa29eee9caba75 authored over 7 years ago by Yang Luo <[email protected]>
Add Consul adapter to the list in README.

888ce83fff606b8863f12d3fdec9f87ebc4ce966 authored over 7 years ago by Yang Luo <[email protected]>
Multiple filters can be specified in GetFilteredPolicy(), RemoveFilteredPolicy(), RemoveFilteredGroupingPolicy().

0a649d0c29f6aac52b3667d6b19d7cbe9a996a64 authored over 7 years ago by Yang Luo <[email protected]>
Add ParamsToString() to util.

017f1345d3cae6774b9d31e822548fdb2f2d7b60 authored over 7 years ago by Yang Luo <[email protected]>
Remove the remaining []string in policy add and remove functions.

332ba4c88f427a43a84836ee779f4b055027dfd0 authored over 7 years ago by Yang Luo <[email protected]>
Add HasRoleForUser() into RBAC API.

c58a0975493ad57f61b86f7135d8d4348cea7687 authored over 7 years ago by Yang Luo <[email protected]>
Add DeleteRoleForUser() and DeletePermissionForUser() into RBAC API.

7307775033494a8e46b0e88848124734c7da59af authored over 7 years ago by Yang Luo <[email protected]>
Fix the bug in model log printing.

f9cc36e6fa38e862a408fb7b595bfbdd148e5279 authored over 7 years ago by Yang Luo <[email protected]>
The log printed by Casbin can be disabled by the last param of NewEnforcer().

a08ed210919becdee537803ceb76514b625ec955 authored over 7 years ago by Yang Luo <[email protected]>
Use the util to provide logging.

5faba24667cba401caeb58bae2e0a0d73517d591 authored over 7 years ago by Yang Luo <[email protected]>