Ecosyste.ms: OpenCollective

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

Casbin

An authorization library that supports access control models like ACL, RBAC, ABAC for Golang, Java, C/C++, Node.js, Javascript, PHP, Python, .NET (C#), Delphi, Rust, Dart/Flutter and Elixir
Collective - Host: opensource - https://opencollective.com/casbin - Website: https://casbin.org/ - Code: https://github.com/casbin

Added 5 new key_calls mappings for CmdIt, also simplied the inner_action representation using the action word.

github.com/casbin/openstack-patron - 85fc9d78b81e7c50f75d4784d0cd0a064159654b authored about 9 years ago by hsluoyz <[email protected]>
Now "path_to_op" mappings can be automatically generated by cmd-integration-test.py, it can be directly used in AEM.

github.com/casbin/openstack-patron - 1f297b014d1c46b9855d07f6cb28b96ba1e875ab authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug in cmd-integration-test.py that some additional API log lines are not correctly positioned when it's printed.

github.com/casbin/openstack-patron - 09da4d947a12518557765e6807a52cb6e08124e5 authored about 9 years ago by hsluoyz <[email protected]>
Now cmd-integration-test.py can track the myapi.txt log file's modifications, used to extract the op.

github.com/casbin/openstack-patron - e3711e752ae95e143a850479a3499e0bf142135f authored about 9 years ago by hsluoyz <[email protected]>
Made "path_info" in nova-cmd-integration-test.py templated through the same way used on AEM.

github.com/casbin/openstack-patron - b08ee1183266d749344759a88e15ad149ef2486a authored about 9 years ago by hsluoyz <[email protected]>
Functionized "get_template_path_info" parts in AEM.

github.com/casbin/openstack-patron - a78e37f6ad355ef7a75d56d241bb23d8a1b9eedd authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that novaclient doesn't return execution time when occurs exception, also adopts a new time calculation way based on time.time().

github.com/casbin/openstack-patron - 768362c9e2499e8e9cb9b690ba2b31789d32fa1d authored about 9 years ago by hsluoyz <[email protected]>
Added "Command Error" type for nova-cmd-integration-test.py, also added debug log output to "/root/cmd-integration-test-debuglog.txt".

github.com/casbin/openstack-patron - ca04cd7cb268d1d623c3a0c36df7f026ce9f6f95 authored about 9 years ago by hsluoyz <[email protected]>
Merged two test functions into single one in nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - 77e09c77a945ad5e3eae6c8a04a5300d85b75b05 authored about 9 years ago by hsluoyz <[email protected]>
Now nova-cmd-integration-test.py script can show all path_infos for a command.

github.com/casbin/openstack-patron - 4579a39d67edb01a16c6eee598496461943f4534 authored about 9 years ago by hsluoyz <[email protected]>
Added "port" and "version" fields to AEM's path_to_op mappings.

github.com/casbin/openstack-patron - 6d56d1cef7ba7f1626637baf76468672d069bdcc authored about 9 years ago by hsluoyz <[email protected]>
Now all nova test commands' "path_info" can be successfully parsed out by nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - a93eb8f9b356701116d06a634f897eaa905809d6 authored about 9 years ago by hsluoyz <[email protected]>
Added dynamic generated ID's operations (like delete) in nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - a5718e74bf4c3454df5db9d7f0a6741adeb57799 authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug in nova-cmd-integration-test.py that some URLs with special chars are failed to be parsed.

github.com/casbin/openstack-patron - 7b78a7c1b6ba848ad95b5adfd72eb8d7d642c0a9 authored about 9 years ago by hsluoyz <[email protected]>
Fixed two bugs in nova-cmd-integration-test.py: 1) $SERVER_NAME macro is not replaced, 2) "nova --debug root-password" will halt.

github.com/casbin/openstack-patron - 3bb5fdd0c6549ab173332845a8c4fa336f6e72bc authored about 9 years ago by hsluoyz <[email protected]>
Added the get path_info tuple function for nova-cmd-integration-test.py, now this script can use "--debug" output to extract out the path_info that used by path_to_op mechanism in AEM.

github.com/casbin/openstack-patron - 3d1beec3179bcc4d92a6cd79ce04ac36a14f13cd authored about 9 years ago by hsluoyz <[email protected]>
Now the path_to_op function in AEM uses "template_path_info" generated by path_to_target function, also aggregate delete routine is added into path_to_op.

github.com/casbin/openstack-patron - 052cdebfaeee60d19774d2547fb84c49b58fc0c0 authored about 9 years ago by hsluoyz <[email protected]>
Added support for "nova root-password %INSTANCE_NAME%" command using expect script in nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - f3a1fa9fd4744022a94ee5911d39b36e0b351ec2 authored about 9 years ago by hsluoyz <[email protected]>
Added "Usage Error" and "Other Errors" display for nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - e4c839d0e3dfc2e2356df44a6be8385294386982 authored about 9 years ago by hsluoyz <[email protected]>
Updated image and secgroup names for nova-cmd-test.sh.

github.com/casbin/openstack-patron - 40f55f255304984f109aa77391f029e3753386aa authored about 9 years ago by hsluoyz <[email protected]>
Added "line-no" display and running from custom line function for nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - adce1a0445478c80524d5ccc1f23eb75acdbe373 authored about 9 years ago by hsluoyz <[email protected]>
Added the command no display for nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - 29b35de7e04455a87d9572318c709eefcda4e358 authored about 9 years ago by hsluoyz <[email protected]>
If the mappings in AEM failed to find an op, we return the rare HTTP 412 error, to let the user know this is the error position.

github.com/casbin/openstack-patron - 004c48d23d584e2bdd857fa2a3d84b5f9536589b authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that most macros failed to be replaced in nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - 1dcd911aca81e449a015a6b8893f13c13499f765 authored about 9 years ago by hsluoyz <[email protected]>
Added the macro replace function for nova-cmd-integration-test.py.

github.com/casbin/openstack-patron - d42ae103fbd81b95db080fff0ffda277511b8e91 authored about 9 years ago by hsluoyz <[email protected]>
If the mappings in AEM failed to find an op, we return the rare HTTP 412 error, to let the user know this is the error position.

github.com/casbin/openstack-patron - def19266e6b08c3cff89f57fb7dbe3ea674ad283 authored about 9 years ago by hsluoyz <[email protected]>
Renamed the nova cmd integration test file to python script.

github.com/casbin/openstack-patron - 6442a7fd8548fb7025a045a258bab4d17ddd660e authored about 9 years ago by hsluoyz <[email protected]>
Built an integeration test script for nova based on the original nova-cmd-test.sh.

github.com/casbin/openstack-patron - a08abb3ce9df2735aa64343d7b69ba502342aa3a authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that default rule is not specified in multi-policy module, this will cause "nova show %INSTANCE_NAME%" to failure.

github.com/casbin/openstack-patron - e92e6f6d1a541714bcbd64033d3f3e9d960a86db authored about 9 years ago by hsluoyz <[email protected]>
Got URL-to-op mappings sorted, duplicate-removed and formatted for AEM.

github.com/casbin/openstack-patron - b5d55706709fef0352b0c9890ca5ff78cc76d31a authored about 9 years ago by hsluoyz <[email protected]>
Updated a new built-in policy named "enable.json", also modified "metadata.json" to be an example of our policy integration model.

github.com/casbin/openstack-patron - 72ea3ec284c1b067d8f457514420bf0f821dffd5 authored about 9 years ago by hsluoyz <[email protected]>
Modified patron setpolicy API to support 'built-in' Attribute in metadata.json.

github.com/casbin/openstack-patron - 8ebb88c6ebbcccc4bf46906413c005518a443b9e authored about 9 years ago by lwyeluo <[email protected]>
Improved the set-policy function handler to make it generate well-formated json.

github.com/casbin/openstack-patron - 261336c45efcb023d5247d9ddd5e57b930172d18 authored about 9 years ago by hsluoyz <[email protected]>
Added "built-in" field to AND, OR and NOT policy for the policy example.

github.com/casbin/openstack-patron - 826217b430cf50da187a034bb8acb2eda594ca28 authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug in multi-policy module that if empty metadata file is provided, patron will crash.

github.com/casbin/openstack-patron - 0550bf1e3a13808f85de1afbc678b1bba483f449 authored about 9 years ago by hsluoyz <[email protected]>
Modified patron setpolicy COMMAND and API to support user push their policy file.

github.com/casbin/openstack-patron - 745f8b0bd3838fd83a0b3101aa584b5ca828450f authored about 9 years ago by lwyeluo <[email protected]>
Fixed the bug that the example metadata.json file lacks a "name" field".

github.com/casbin/openstack-patron - f10ebb7d443b31fb237d2c94b68bd5385bc18c97 authored about 9 years ago by hsluoyz <[email protected]>
Added the policy integration feature for multi-policy module, now multiple policies can be ORed, ANDed and NOTed, see the "metadata.json" for example.

github.com/casbin/openstack-patron - cc4a88474f99efd89d454896f69c11d706009c27 authored about 9 years ago by hsluoyz <[email protected]>
Added the URL to op mapping mechanism (not finished) for AEM.

github.com/casbin/openstack-patron - b733cf6ecc8247bd90449e18996d66991f4f06d9 authored about 9 years ago by puyangsky <[email protected]>
Moved get_adapter function from Enforcer to BaseAdapter in multi-policy module.

github.com/casbin/openstack-patron - 3444eee4cb9108f62feb19243659661bc898f65a authored about 9 years ago by hsluoyz <[email protected]>
Improved the code format of multi-policy module.

github.com/casbin/openstack-patron - 8728e859719391892b92238ac2c2877b065c6642 authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that "built-in" policy is not recognized as built-in in multi-policy module.

github.com/casbin/openstack-patron - 72013fc28dfa990fd030aeae06440476098cc425 authored about 9 years ago by hsluoyz <[email protected]>
Added the default metadata file for multi-policy module, if it is a new tenant, it will have a default metadata file that has only one built-in default policy.

github.com/casbin/openstack-patron - af0d5c80c3a1bc98913901e54ece1c45a052fbea authored about 9 years ago by hsluoyz <[email protected]>
Added built-in policy mechanism into multi-policy module.

github.com/casbin/openstack-patron - 735d1521b009e32658fb0766d31f6d24ee84f357 authored about 9 years ago by hsluoyz <[email protected]>
Modified multi-policy module to load adapter classes dynamically.

github.com/casbin/openstack-patron - 7868c7d34740c9df4dfaa52936354f265c57a77c authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that multi-policy module crashed when specifying "all-pass-policy".

github.com/casbin/openstack-patron - cd73e6f6ba457cba0e443ca3927e7fedabef5f09 authored about 9 years ago by hsluoyz <[email protected]>
Moved the load_rules function from Enforcer to BaseAdapter in multi-policy module.

github.com/casbin/openstack-patron - bcc5f05ebc192c98705d0fdd4a0bacae7d4acf6e authored about 9 years ago by hsluoyz <[email protected]>
nova command line test bash file

github.com/casbin/openstack-patron - 7f43363c2e5e859c16b39327f7ed6c4e1cbc843f authored about 9 years ago by puyangsky <[email protected]>
Fixed a BUG that AEM got wrong project-id for WIPECACHE command.

github.com/casbin/openstack-patron - a2b6e7a7363465914c06b0d9fef14f8d529e543e authored about 9 years ago by lwyeluo <[email protected]>
Added base class for all adapters in multi-policy module.

github.com/casbin/openstack-patron - fe19dfb78c2e87028d08ca22068f2f15da5dec36 authored about 9 years ago by hsluoyz <[email protected]>
Renamed "Enforcer" to "Adapter" for multi-policy module.

github.com/casbin/openstack-patron - 03e2dc3c882d3e81106feef982d07d5213099ea0 authored about 9 years ago by hsluoyz <[email protected]>
Fix no error message issue

github.com/casbin/bee - 5c6eeae33ab4182718c5abe46007590efe790dca authored about 9 years ago by Haibin Liu <[email protected]>
Update README.md

github.com/casbin/lego - 9160122ebe07fb3ac752feefc8308899e9fc70c8 authored about 9 years ago by xenolf <[email protected]>
Support for cert revocation

github.com/casbin/lego - b3035b16b57477e94ade923e8a5aa25c7538843e authored about 9 years ago by xenolf <[email protected]>
Clean up CLI args

github.com/casbin/lego - 754e0d4ffa0116eed9690d2cd7f59d15c871cf4d authored about 9 years ago by xenolf <[email protected]>
No longer save certs with executable flag :)

github.com/casbin/lego - 6f979feffaac1f79635766b5b6df5dfe7bb59155 authored about 9 years ago by xenolf <[email protected]>
Changed the client to pull the urls down from the directory on the CA server.

CA Url now needs to point to the root of the CA

github.com/casbin/lego - e5f6f4c4a3bf5cde010749986c0848b70aed6797 authored about 9 years ago by xenolf <[email protected]>
Update read

github.com/casbin/lego - 76db09c0a0702436a3c39bcaeff359ad2132a8b5 authored about 9 years ago by xenolf <[email protected]>
Remove CA path from config dir.

github.com/casbin/lego - 0f32c176d72684b8e9bd01b81c938cc0d97fa79c authored about 9 years ago by xenolf <[email protected]>
Update everything to work with the latest boulder updates.

github.com/casbin/lego - 37b20117bf41a5dc0a6d8939fabea0568aa74844 authored about 9 years ago by xenolf <[email protected]>
Fixed the BUG for response the WIPECACHE command.

github.com/casbin/openstack-patron - 876b0d9c3afa81f08f51e5da53ad428c483b4c5b authored about 9 years ago by lwyeluo <[email protected]>
Added policy revocation for AEM using wiping cache COMMAND.

github.com/casbin/openstack-patron - 32e2fa1e37429d9f6bac1f272c4946cb1342b502 authored about 9 years ago by lwyeluo <[email protected]>
Added four patron-api names setpolicy, getpolicy, setlabel and getlabel.

github.com/casbin/openstack-patron - b5e25e63a91f464fb716a72b1c7400aa7adaa017 authored about 9 years ago by lwyeluo <[email protected]>
Fixed the port and import class bugs in patron API test script.

github.com/casbin/openstack-patron - 98cc1d78b0fcc56b9cd57f1265e9cf52d9215b04 authored about 9 years ago by hsluoyz <[email protected]>
Updated the custom policy example and the related README to support multi-policy.

github.com/casbin/openstack-patron - 7a0648fb202dd0fe0269690c5461875958834eff authored about 9 years ago by hsluoyz <[email protected]>
Added AllForbidEnforcer for multi-policy, and improved debug output and file format checking.

github.com/casbin/openstack-patron - d3c29a659c238daa4dde8d4bf05f676b50a604bb authored about 9 years ago by hsluoyz <[email protected]>
Added the "AllPassEnforcer" as an example for multi-policy, it will allow all accesses.

github.com/casbin/openstack-patron - d89f1a5cf360903f31a35039a4150634e8e8d62e authored about 9 years ago by hsluoyz <[email protected]>
Decoupled the default policy (in default.py) from the original enforcement logic (in policy.py).

github.com/casbin/openstack-patron - 7590aeb1f4b08094b6cd7aca556b55b60ca29b17 authored about 9 years ago by hsluoyz <[email protected]>
Merge pull request #131 from pjoe/update_to_match_beego_develop

Update generate docs to match changes in beego develop branch

github.com/casbin/bee - d70592fd14a16ae8987a120474e72a12d8615367 authored about 9 years ago by astaxie <[email protected]>
Update to match changes in beego develop branch

Mainly changes casing: Api > API and Url > URL

github.com/casbin/bee - faaa3320bc5c90f4f7970c74fbfc9c4dd319dfbd authored about 9 years ago by Pelle Johnsen <[email protected]>
Added metadata file mechanism for multi-policy support in patron, if metadata file is found, policy module will use this file to load the current policy, not finished yet.

github.com/casbin/openstack-patron - f6299cfa17724b58cc3718c00ffc640cb5340d3e authored about 9 years ago by hsluoyz <[email protected]>
Fixed the bug that "patron verify" command fails without specifying "op".

github.com/casbin/openstack-patron - a2f6142b19995fc608403b356238959b12fd4e89 authored about 9 years ago by hsluoyz <[email protected]>
Improved the config README that described how to update db.

github.com/casbin/openstack-patron - d72fd0ac56e3e8d0197c7111ee27cf1411599118 authored about 9 years ago by hsluoyz <[email protected]>
Modified patron api(VERIFY) by putting OP into req.body for consistency of url.

github.com/casbin/openstack-patron - f57efbc66b9c052f5b2edfba54ccf718ff9169e9 authored about 9 years ago by lwyeluo <[email protected]>
Fixed AVC Class's bug to support for caching more than Record.(Test PASS)

github.com/casbin/openstack-patron - 1c3f387ad90b3c39c7b8c61dd58d2b7c01aef4b6 authored about 9 years ago by lwyeluo <[email protected]>
Modified AVC Class to support for caching more than one Record in patron_cache.py(not tested)

github.com/casbin/openstack-patron - ded6f0af23c9005883e4ad0aa09bcadc717fd2ea authored about 9 years ago by lwyeluo <[email protected]>
Added "os-instance-actions" target parsing for AEM.

github.com/casbin/openstack-patron - 9ef66e8898137eaf9e3799d7a4ba306a6713bb31 authored about 9 years ago by hsluoyz <[email protected]>
Added "os-tenant-networks" and "os-simple-tenant-usage" parsing support for AEM.

github.com/casbin/openstack-patron - e3fb2006e089bb5c5a142f4ba055527c87e93a67 authored about 9 years ago by hsluoyz <[email protected]>
Supported "os-quota-sets" API parsing for AEM.

github.com/casbin/openstack-patron - 6cd3fa328b80d6a74814c9aaf92eace5248f07f8 authored about 9 years ago by hsluoyz <[email protected]>
Added 3 URL parsing support for AEM: os-aggregates, os-networks, flavors.

github.com/casbin/openstack-patron - 0ce82894f314acc91780d812b61f09e276e34b2b authored about 9 years ago by hsluoyz <[email protected]>
Added parsing support for command "nova keypair-show ext-key" in AEM.

github.com/casbin/openstack-patron - f323e03fb760cf43812372b9c9eafc6929fd6dc1 authored about 9 years ago by hsluoyz <[email protected]>
added KeyError Exception handling.

github.com/casbin/openstack-patron - 42719e028e7bacb20cf175caa62eb6c1f1da24f0 authored about 9 years ago by lwyeluo <[email protected]>
Initially added the URL parser for AEM.

github.com/casbin/openstack-patron - f3b53e98d08c7466018036586127aa3a1d5d19cc authored about 9 years ago by lwyeluo <[email protected]>
Initially added the URL-to-rule_name parsing code for AEM.

github.com/casbin/openstack-patron - 43f4c510f06341b2c26f89da2c1f760bfd026a1e authored about 9 years ago by puyangsky <[email protected]>
modified AVC to support multiprocessing

github.com/casbin/openstack-patron - 93d420454e08abc2ad413dd71174e102800eea6c authored about 9 years ago by lwyeluo <[email protected]>
modified the author name

github.com/casbin/openstack-patron - 050458a7f5fcf43611dfe309130785c6b84faf0c authored about 9 years ago by lwyeluo <[email protected]>
Finished the collection of web path vector for AEM.

github.com/casbin/openstack-patron - e326675b4d61175c570e16e35722a3f120dbe07a authored about 9 years ago by hsluoyz <[email protected]>
Added security_label attribute for instance and network objects (including db and python object).

github.com/casbin/openstack-patron - 67ae754b93a6e91b9b0df7ec912ac53a1857a459 authored about 9 years ago by hsluoyz <[email protected]>
Disabled the access vector cache, as it is still buggy on multi-processing support.

github.com/casbin/openstack-patron - 3200d669b6a2d8227780068754d19d98c06c44d5 authored about 9 years ago by hsluoyz <[email protected]>
Initially added the request vector cache for AEM.

github.com/casbin/openstack-patron - 84f26ab03b0c69ad03fb6b1b16b75c0c37924f9d authored about 9 years ago by hsluoyz <[email protected]>
Updated the README for new nova filter configuration.

github.com/casbin/openstack-patron - 44cf50663e8b7a896bd3c6305ee5280ba6c62cf0 authored about 9 years ago by hsluoyz <[email protected]>
Initially added the multi-policy feature, Patron will first use /etc/patron/custom_policy/{PROJECT_ID}/policy.json first, if not found, then use the original one.

github.com/casbin/openstack-patron - 2560b268beb16a790f764605341ea265d1c96578 authored about 9 years ago by hsluoyz <[email protected]>
Registered the "patron_verify" filter for nova, this filter is used to mediate the access to nova.

github.com/casbin/openstack-patron - 0babeaf80d9f15092f909f536e06474c395ce07a authored about 9 years ago by hsluoyz <[email protected]>
Uploaded nova's original "api-paste.ini" file.

github.com/casbin/openstack-patron - 3e8daf5cb4338fe2baef77b5dc96966d621cdd22 authored about 9 years ago by hsluoyz <[email protected]>
Added op's NULL check for Patron.

github.com/casbin/openstack-patron - 5621f4df780c827b5a2cbfe524987a69877108e8 authored about 9 years ago by hsluoyz <[email protected]>
Added a new filter named PatronVerify

github.com/casbin/openstack-patron - 36e808330aa8f50e2d425e7ed79f65a8582e5443 authored about 9 years ago by lwyeluo <[email protected]>
Renamed "rule" to "op" to comply with FLASK.

github.com/casbin/openstack-patron - cc09aaf6be346dd2a6a482ab3d402c2206154785 authored about 9 years ago by hsluoyz <[email protected]>
Now patron will use the target sent from nova filter to check against the policy, if no target is found, then use the context as the target.

github.com/casbin/openstack-patron - b78a51cc9de399c7d7ac42d19b500ee4c0e7a90d authored about 9 years ago by hsluoyz <[email protected]>
Added the mapping function from request to security rule name and target object for nova filter.

github.com/casbin/openstack-patron - a88e2ac867472539e533e0c200e1501b4d80a7cd authored about 9 years ago by hsluoyz <[email protected]>
Nova filter now can send object security context (named "target") to Patron.

github.com/casbin/openstack-patron - b9932505d6c171ba378e1b5331a8ca9f9b8b3ec2 authored about 9 years ago by hsluoyz <[email protected]>