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
Handle file not found error.
bddabb74fd4ae1de2817ce50834d8d4ce7269331 authored over 7 years ago by Yang Luo <[email protected]>
bddabb74fd4ae1de2817ce50834d8d4ce7269331 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out rbac package.
2f801b1781e171c465ff2a31ea193eb8df8ac18b authored over 7 years ago by Yang Luo <[email protected]>
2f801b1781e171c465ff2a31ea193eb8df8ac18b authored over 7 years ago by Yang Luo <[email protected]>
Make role manager functions public.
ec4a8fef07639baff7215b2752bb65355d3a5c23 authored over 7 years ago by Yang Luo <[email protected]>
ec4a8fef07639baff7215b2752bb65355d3a5c23 authored over 7 years ago by Yang Luo <[email protected]>
Describe the config init way in README.
4b4d20bf7eecffd69f229c9352d8fe01048da69f authored over 7 years ago by Yang Luo <[email protected]>
4b4d20bf7eecffd69f229c9352d8fe01048da69f authored over 7 years ago by Yang Luo <[email protected]>
Add the config init way.
23bc17f6f6545769a34b7cbf3eb48d747c844a3e authored over 7 years ago by Yang Luo <[email protected]>
23bc17f6f6545769a34b7cbf3eb48d747c844a3e authored over 7 years ago by Yang Luo <[email protected]>
Add users to README.
2fd4f1598da39aa25a08bd6f128840f289545265 authored over 7 years ago by Yang Luo <[email protected]>
2fd4f1598da39aa25a08bd6f128840f289545265 authored over 7 years ago by Yang Luo <[email protected]>
Add supported models to README.
d76d43e7bf0321880c86783d9c572d3db02ef573 authored over 7 years ago by Yang Luo <[email protected]>
d76d43e7bf0321880c86783d9c572d3db02ef573 authored over 7 years ago by Yang Luo <[email protected]>
Fix the typo in README.
3c969c3494471c2546c22dbd8cc53502c7fb61fb authored over 7 years ago by Yang Luo <[email protected]>
3c969c3494471c2546c22dbd8cc53502c7fb61fb authored over 7 years ago by Yang Luo <[email protected]>
Improve the godoc badge in README.
fb362f4ad79817694b9c092c124495de09280f3b authored over 7 years ago by Yang Luo <[email protected]>
fb362f4ad79817694b9c092c124495de09280f3b authored over 7 years ago by Yang Luo <[email protected]>
Add the getting model API.
13e98a84cafbb557bb74a59e489fd17712542ccc authored over 7 years ago by Yang Luo <[email protected]>
13e98a84cafbb557bb74a59e489fd17712542ccc authored over 7 years ago by Yang Luo <[email protected]>
Add the database persist method in README.
6ae1fc3bf62a82f45d4a5439431ef2836aaf6978 authored over 7 years ago by Yang Luo <[email protected]>
6ae1fc3bf62a82f45d4a5439431ef2836aaf6978 authored over 7 years ago by Yang Luo <[email protected]>
Policy can be read from database now.
fd784998318f774d3c88f83192264b95573fd59d authored over 7 years ago by Yang Luo <[email protected]>
fd784998318f774d3c88f83192264b95573fd59d authored over 7 years ago by Yang Luo <[email protected]>
Refactor out persist package.
b1a522a9c5890e5502c4656df8da521eb3505603 authored over 7 years ago by Yang Luo <[email protected]>
b1a522a9c5890e5502c4656df8da521eb3505603 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out api package.
0f77d4fb2a1e0106f52c889c2d8fe92505d24302 authored over 7 years ago by Yang Luo <[email protected]>
0f77d4fb2a1e0106f52c889c2d8fe92505d24302 authored over 7 years ago by Yang Luo <[email protected]>
Make some of role manager functions public.
91687c3de9f96f44d947163081336e2f44a39299 authored over 7 years ago by Yang Luo <[email protected]>
91687c3de9f96f44d947163081336e2f44a39299 authored over 7 years ago by Yang Luo <[email protected]>
Make function functions public.
6970337504d5b1c4e4c105e81461586063ab1919 authored over 7 years ago by Yang Luo <[email protected]>
6970337504d5b1c4e4c105e81461586063ab1919 authored over 7 years ago by Yang Luo <[email protected]>
Add clear policy API.
e29689a9c972ed287d77444d1665403e78ca798f authored over 7 years ago by Yang Luo <[email protected]>
e29689a9c972ed287d77444d1665403e78ca798f authored over 7 years ago by Yang Luo <[email protected]>
Make model functions public.
c586e26be791da6550d7c9f8dd8bdd2a098dbfa8 authored over 7 years ago by Yang Luo <[email protected]>
c586e26be791da6550d7c9f8dd8bdd2a098dbfa8 authored over 7 years ago by Yang Luo <[email protected]>
Improve the accessibility of the persistence adapters.
5074dda73047614f92ce1a6dfd15e6d3bc3dcb09 authored over 7 years ago by Yang Luo <[email protected]>
5074dda73047614f92ce1a6dfd15e6d3bc3dcb09 authored over 7 years ago by Yang Luo <[email protected]>
Make Assertion public.
932147231d44051a16697b44c565db1551ee6c77 authored over 7 years ago by Yang Luo <[email protected]>
932147231d44051a16697b44c565db1551ee6c77 authored over 7 years ago by Yang Luo <[email protected]>
Add comments to util functions, and refactor out its testing.
56f1c7ed442e910ebf4a3a8a176cbd29fa6cae5c authored over 7 years ago by Yang Luo <[email protected]>
56f1c7ed442e910ebf4a3a8a176cbd29fa6cae5c authored over 7 years ago by Yang Luo <[email protected]>
Improve code with gofmt.
70b00557253624ab0d917be146a55ca0aeba376a authored over 7 years ago by Yang Luo <[email protected]>
70b00557253624ab0d917be146a55ca0aeba376a authored over 7 years ago by Yang Luo <[email protected]>
Improve the DB adapter test.
ff9634b07d5c88ab5b07411152df0a21f1709a14 authored over 7 years ago by Yang Luo <[email protected]>
ff9634b07d5c88ab5b07411152df0a21f1709a14 authored over 7 years ago by Yang Luo <[email protected]>
Rename the enforcer receiver to e.
3b09f8de9c83cdcd71cd05cbd0333eb62e19a3b8 authored over 7 years ago by Yang Luo <[email protected]>
3b09f8de9c83cdcd71cd05cbd0333eb62e19a3b8 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out util package.
72acc37c6a02cce8fbd33232acee181331039735 authored over 7 years ago by Yang Luo <[email protected]>
72acc37c6a02cce8fbd33232acee181331039735 authored over 7 years ago by Yang Luo <[email protected]>
Make util functions public.
9adf0d96177504f97eafb5bdc5121df370a6accb authored over 7 years ago by Yang Luo <[email protected]>
9adf0d96177504f97eafb5bdc5121df370a6accb authored over 7 years ago by Yang Luo <[email protected]>
Use file adapter in enforcer.
3c203c6f3a4e5bf46860d01e20f75856a9ae3af9 authored over 7 years ago by Yang Luo <[email protected]>
3c203c6f3a4e5bf46860d01e20f75856a9ae3af9 authored over 7 years ago by Yang Luo <[email protected]>
Refactor out the file operations from the policy module.
f705501f4c23d909f6e3e06b9396126e404f4fbb authored over 7 years ago by Yang Luo <[email protected]>
f705501f4c23d909f6e3e06b9396126e404f4fbb authored over 7 years ago by Yang Luo <[email protected]>
Add MySQL service to CI.
3d7399adf63ed24d6ffc214a290f8b3ba0e3f050 authored over 7 years ago by Yang Luo <[email protected]>
3d7399adf63ed24d6ffc214a290f8b3ba0e3f050 authored over 7 years ago by Yang Luo <[email protected]>
Fix the bug in saving policy to database.
752aacb28ccfa1d75940347221b4d072d21f75be authored over 7 years ago by Yang Luo <[email protected]>
752aacb28ccfa1d75940347221b4d072d21f75be authored over 7 years ago by Yang Luo <[email protected]>
Policy can be stored into database like MySQL now.
13730510af00c677ed2c65a1bd82ddb1983a01bc authored over 7 years ago by Yang Luo <[email protected]>
13730510af00c677ed2c65a1bd82ddb1983a01bc authored over 7 years ago by Yang Luo <[email protected]>
Start another ABAC example, not finished yet.
8298d4435544d4b96906bf50e767e4f4d0418b8b authored over 7 years ago by Yang Luo <[email protected]>
8298d4435544d4b96906bf50e767e4f4d0418b8b authored over 7 years ago by Yang Luo <[email protected]>
Describe persistence in README.
1f7338791a91b40094a39e805c545b3f7a8cff78 authored over 7 years ago by Yang Luo <[email protected]>
1f7338791a91b40094a39e805c545b3f7a8cff78 authored over 7 years ago by Yang Luo <[email protected]>
Add examples to README.
17bdc75122b2387117dcd2da536dae90832ee96a authored over 7 years ago by Yang Luo <[email protected]>
17bdc75122b2387117dcd2da536dae90832ee96a authored over 7 years ago by Yang Luo <[email protected]>
Finish the ABAC model support.
5fa599014c1849d155f1381c2656da5cf9d959bf authored over 7 years ago by Yang Luo <[email protected]>
5fa599014c1849d155f1381c2656da5cf9d959bf authored over 7 years ago by Yang Luo <[email protected]>
Add the ABAC model testing, not working yet.
008dd4693b4c8e1b416c346caa3be945c04a5c9c authored over 7 years ago by Yang Luo <[email protected]>
008dd4693b4c8e1b416c346caa3be945c04a5c9c authored over 7 years ago by Yang Luo <[email protected]>
Refactor out the function map that are used in the matchers.
d20d615db68d4e890a537638f045ffdb4b396d75 authored over 7 years ago by Yang Luo <[email protected]>
d20d615db68d4e890a537638f045ffdb4b396d75 authored over 7 years ago by Yang Luo <[email protected]>
Add comments to the enforcer API.
0f8046d9eee14b7fdb5376d2fe40639c3d8b581f authored over 7 years ago by Yang Luo <[email protected]>
0f8046d9eee14b7fdb5376d2fe40639c3d8b581f authored over 7 years ago by Yang Luo <[email protected]>
Parse the matchers of the ABAC model.
b47237cc42ddf94da81c659fb325d46a695c98e9 authored over 7 years ago by Yang Luo <[email protected]>
b47237cc42ddf94da81c659fb325d46a695c98e9 authored over 7 years ago by Yang Luo <[email protected]>
Add getting all roles API.
369bd87ee29f50005c0c16bb3f605093ad1552e9 authored over 7 years ago by Yang Luo <[email protected]>
369bd87ee29f50005c0c16bb3f605093ad1552e9 authored over 7 years ago by Yang Luo <[email protected]>
Add subjects, objects, actions getting API.
e7f07be9440c46dc906fe58fa8a5d46079b6f32c authored over 7 years ago by Yang Luo <[email protected]>
e7f07be9440c46dc906fe58fa8a5d46079b6f32c authored over 7 years ago by Yang Luo <[email protected]>
Enable the keyMatch operator, add its test.
42e47cf0db40d1b474f4b32c5610ed00f342d3c8 authored over 7 years ago by Yang Luo <[email protected]>
42e47cf0db40d1b474f4b32c5610ed00f342d3c8 authored over 7 years ago by Yang Luo <[email protected]>
Make the enforcer API public.
a64755013e78be391e6127ec257d818b91a048b1 authored over 7 years ago by Yang Luo <[email protected]>
a64755013e78be391e6127ec257d818b91a048b1 authored over 7 years ago by Yang Luo <[email protected]>
Add coverage badge.
189fbc8bb051737b90f98f75f90cdd64f7a7329d authored over 7 years ago by Yang Luo <[email protected]>
189fbc8bb051737b90f98f75f90cdd64f7a7329d authored over 7 years ago by Yang Luo <[email protected]>
Add Gitter integration.
e86bc36a2f3d0209c285e071b8e1da011716bc5e authored over 7 years ago by Yang Luo <[email protected]>
e86bc36a2f3d0209c285e071b8e1da011716bc5e authored over 7 years ago by Yang Luo <[email protected]>
Fix the wrong evaluation results for role operators.
7ea98188b1d6904f619d507b9dcf9f4f0eb0af38 authored over 7 years ago by Yang Luo <[email protected]>
7ea98188b1d6904f619d507b9dcf9f4f0eb0af38 authored over 7 years ago by Yang Luo <[email protected]>
Fix the typo in RBAC model with resource roles.
59a2549b12d3aed43a636a8d55d835a4f837a511 authored over 7 years ago by Yang Luo <[email protected]>
59a2549b12d3aed43a636a8d55d835a4f837a511 authored over 7 years ago by Yang Luo <[email protected]>
Load all assertions of a section from the model CONF.
ce769398514cdad5ea9be995be533fa4b947dde2 authored over 7 years ago by Yang Luo <[email protected]>
ce769398514cdad5ea9be995be533fa4b947dde2 authored over 7 years ago by Yang Luo <[email protected]>
Add the example of RBAC with resource roles, aka both subject roles and resource roles exist.
0f46a3ff318a010367b6b5b262d06c29ec4a8003 authored over 7 years ago by Yang Luo <[email protected]>
0f46a3ff318a010367b6b5b262d06c29ec4a8003 authored over 7 years ago by Yang Luo <[email protected]>
The enforcer can be disabled.
5a4530ffcae48d353cc45f49f83f89f3d144b1a2 authored over 7 years ago by Yang Luo <[email protected]>
5a4530ffcae48d353cc45f49f83f89f3d144b1a2 authored over 7 years ago by Yang Luo <[email protected]>
Add release badge to README.
810247595dc335ba5470467ca88f0b47873ba9eb authored over 7 years ago by Yang Luo <[email protected]>
810247595dc335ba5470467ca88f0b47873ba9eb authored over 7 years ago by Yang Luo <[email protected]>
Add benchmarking for basic model and RBAC model.
9f0940777ce879587df59e349ff8735e6f8bc47d authored over 7 years ago by Yang Luo <[email protected]>
9f0940777ce879587df59e349ff8735e6f8bc47d authored over 7 years ago by Yang Luo <[email protected]>
Fix some of the remaining golint warnings.
c88c4544b598638d2a33e99eeb0a63894411fbaa authored over 7 years ago by Yang Luo <[email protected]>
c88c4544b598638d2a33e99eeb0a63894411fbaa authored over 7 years ago by Yang Luo <[email protected]>
Fix some golint warnings.
255b3d939bdc30c678b2dd331a23cbc114917ddd authored over 7 years ago by Yang Luo <[email protected]>
255b3d939bdc30c678b2dd331a23cbc114917ddd authored over 7 years ago by Yang Luo <[email protected]>
Add Go report card badge to README.
0219e03bb4a295c6bf20b34892dc1da22650d49b authored over 7 years ago by Yang Luo <[email protected]>
0219e03bb4a295c6bf20b34892dc1da22650d49b authored over 7 years ago by Yang Luo <[email protected]>
Fix a go_vet unreachable code warning.
bf700d58055b1ce0f9b57dd8bdbcb24cd4e00ec3 authored over 7 years ago by Yang Luo <[email protected]>
bf700d58055b1ce0f9b57dd8bdbcb24cd4e00ec3 authored over 7 years ago by Yang Luo <[email protected]>
Format the code with gofmt.
72a92d3f8cc04f251e8313b3dae0661774bfd4df authored over 7 years ago by Yang Luo <[email protected]>
72a92d3f8cc04f251e8313b3dae0661774bfd4df authored over 7 years ago by Yang Luo <[email protected]>
Fix links to the credit projects.
9019a7aae252a080064970430472d66e33989a12 authored over 7 years ago by Yang Luo <[email protected]>
9019a7aae252a080064970430472d66e33989a12 authored over 7 years ago by Yang Luo <[email protected]>
Expose the adding and removing policy API.
882413bc771a4055afa18e8b44087bbe462df1bc authored over 7 years ago by Yang Luo <[email protected]>
882413bc771a4055afa18e8b44087bbe462df1bc authored over 7 years ago by Yang Luo <[email protected]>
Add adding and removing policy API, not exposed yet.
5ebbdbf20e4176552082cda27db6c55112a20c77 authored over 7 years ago by Yang Luo <[email protected]>
5ebbdbf20e4176552082cda27db6c55112a20c77 authored over 7 years ago by Yang Luo <[email protected]>
Add save policy API.
9a63bddb30a9baa5fa3ee6432c128a488579c1f6 authored over 7 years ago by Yang Luo <[email protected]>
9a63bddb30a9baa5fa3ee6432c128a488579c1f6 authored over 7 years ago by Yang Luo <[email protected]>
Clear the policy before loading one.
a381d1818da7994326f12080adf67051aa03374e authored over 7 years ago by Yang Luo <[email protected]>
a381d1818da7994326f12080adf67051aa03374e authored over 7 years ago by Yang Luo <[email protected]>
Enrich the README.
da4b85fd4c339deeecf184ce6d5a8085ba9a5aef authored over 7 years ago by Yang Luo <[email protected]>
da4b85fd4c339deeecf184ce6d5a8085ba9a5aef authored over 7 years ago by Yang Luo <[email protected]>
Refactor the initialization of the enforcer.
7e8f3087bfbb4b2a2657d8ccac82c0e4633e868f authored over 7 years ago by Yang Luo <[email protected]>
7e8f3087bfbb4b2a2657d8ccac82c0e4633e868f authored over 7 years ago by Yang Luo <[email protected]>
Refactor separate files for policy and assertion.
817eb8a2b8c772352e85de6c046e146bf56ee5bc authored over 7 years ago by Yang Luo <[email protected]>
817eb8a2b8c772352e85de6c046e146bf56ee5bc authored over 7 years ago by Yang Luo <[email protected]>
Add the API of getting grouping policy.
da22d1a8bcc65fea977f3910a91f551239c5f2c8 authored over 7 years ago by Yang Luo <[email protected]>
da22d1a8bcc65fea977f3910a91f551239c5f2c8 authored over 7 years ago by Yang Luo <[email protected]>
Check the testing status of getting roles and policy.
6e1047bae99c219b259ec8cdda65bd261b8c82ac authored over 7 years ago by Yang Luo <[email protected]>
6e1047bae99c219b259ec8cdda65bd261b8c82ac authored over 7 years ago by Yang Luo <[email protected]>
Improve the testing of getting roles.
a02abe87a3c7e6573686332d32005f31308285a5 authored over 7 years ago by Yang Luo <[email protected]>
a02abe87a3c7e6573686332d32005f31308285a5 authored over 7 years ago by Yang Luo <[email protected]>
Expose the API of getting policy to enforcer.
842e3a9a8abbc433dd92d6e54e984ac7882451f4 authored over 7 years ago by Yang Luo <[email protected]>
842e3a9a8abbc433dd92d6e54e984ac7882451f4 authored over 7 years ago by Yang Luo <[email protected]>
Add the API of getting policy to store, filtering on value is supported.
d41aeeec79e2f85eb217ddd59648ff222ace5208 authored over 7 years ago by Yang Luo <[email protected]>
d41aeeec79e2f85eb217ddd59648ff222ace5208 authored over 7 years ago by Yang Luo <[email protected]>
Expose the API of getting roles for a user to enforcer.
91becf319f38fd8b618885605a8a5f41fe4a57be authored over 7 years ago by Yang Luo <[email protected]>
91becf319f38fd8b618885605a8a5f41fe4a57be authored over 7 years ago by Yang Luo <[email protected]>
Add print policy function.
0ef16cb35cddb2aad67e75e6ca95d3036ab87d84 authored over 7 years ago by Yang Luo <[email protected]>
0ef16cb35cddb2aad67e75e6ca95d3036ab87d84 authored over 7 years ago by Yang Luo <[email protected]>
Add the API of getting roles for a user.
4e3d1f8cf89ab2f4bc30610c61255d5820c4a46d authored over 7 years ago by Yang Luo <[email protected]>
4e3d1f8cf89ab2f4bc30610c61255d5820c4a46d authored over 7 years ago by Yang Luo <[email protected]>
Replace fmt with log.
bdc3d8a9b1e3caf806d3a22568eee00ef95adbe6 authored over 7 years ago by Yang Luo <[email protected]>
bdc3d8a9b1e3caf806d3a22568eee00ef95adbe6 authored over 7 years ago by Yang Luo <[email protected]>
Modify the package name to casbin.
a649021b198650de092e95bef23c8384a92bd5b8 authored over 7 years ago by Yang Luo <[email protected]>
a649021b198650de092e95bef23c8384a92bd5b8 authored over 7 years ago by Yang Luo <[email protected]>
Add Travis CI script.
32d14ad49df42eb9b2f07c97d7f46b2c18ef9209 authored over 7 years ago by Yang Luo <[email protected]>
32d14ad49df42eb9b2f07c97d7f46b2c18ef9209 authored over 7 years ago by Yang Luo <[email protected]>
Use the testing framework.
9b690a7c6619678364ea5b926cb7faba8e8bfd47 authored over 7 years ago by Yang Luo <[email protected]>
9b690a7c6619678364ea5b926cb7faba8e8bfd47 authored over 7 years ago by Yang Luo <[email protected]>
Add key match function.
37300a03509ae843444c0a4bb812c1176d7b8db5 authored over 7 years ago by Yang Luo <[email protected]>
37300a03509ae843444c0a4bb812c1176d7b8db5 authored over 7 years ago by Yang Luo <[email protected]>
Add root user case: the user named "root" can do any thing.
ac4d67ec7f23ea53db2a16e0a18295089fe4792f authored over 7 years ago by Yang Luo <[email protected]>
ac4d67ec7f23ea53db2a16e0a18295089fe4792f authored over 7 years ago by Yang Luo <[email protected]>
Finish the functionality of the role relationship evaluation.
8a8e262921b0db1afa97ed461f36373043044f13 authored over 7 years ago by Yang Luo <[email protected]>
8a8e262921b0db1afa97ed461f36373043044f13 authored over 7 years ago by Yang Luo <[email protected]>
Add assertion map between model and assertions.
f81dcc7df36bb63dac5a203964a0b508bb9cc28d authored over 7 years ago by Yang Luo <[email protected]>
f81dcc7df36bb63dac5a203964a0b508bb9cc28d authored over 7 years ago by Yang Luo <[email protected]>
Add role manager.
bd36e8aef331fea7de7740da8b2b3f670cc0019a authored over 7 years ago by Yang Luo <[email protected]>
bd36e8aef331fea7de7740da8b2b3f670cc0019a authored over 7 years ago by Yang Luo <[email protected]>
Add policy type to the policies.
7e2f80b1e11df1ea08d18c19e015a8ccb3e07520 authored over 7 years ago by Yang Luo <[email protected]>
7e2f80b1e11df1ea08d18c19e015a8ccb3e07520 authored over 7 years ago by Yang Luo <[email protected]>
Refactor PERM assertions.
7ec8689959d2bba1402b07d1f67130f45744c0b8 authored over 7 years ago by Yang Luo <[email protected]>
7ec8689959d2bba1402b07d1f67130f45744c0b8 authored over 7 years ago by Yang Luo <[email protected]>
Add README.
bf7cddad4adb0f398c49f5c65bf0c722c2515403 authored over 7 years ago by Yang Luo <[email protected]>
bf7cddad4adb0f398c49f5c65bf0c722c2515403 authored over 7 years ago by Yang Luo <[email protected]>
Add basic functionality.
4dc26cbafb66f883e0448ee018b1a0cc22ba4ce7 authored over 7 years ago by Yang Luo <[email protected]>
4dc26cbafb66f883e0448ee018b1a0cc22ba4ce7 authored over 7 years ago by Yang Luo <[email protected]>
Ignore IDEA files.
223b160aacc29de627bd5981e3e6e0ee9a369aeb authored over 7 years ago by Yang Luo <[email protected]>
223b160aacc29de627bd5981e3e6e0ee9a369aeb authored over 7 years ago by Yang Luo <[email protected]>
Initial commit
7969b9c2a18f9d51e7bfc96fef6d694f8a72239c authored over 7 years ago by Yang Luo <[email protected]>
7969b9c2a18f9d51e7bfc96fef6d694f8a72239c authored over 7 years ago by Yang Luo <[email protected]>