Commit Graph

74 Commits

Author SHA1 Message Date
vsmk98 cf6e64b513 permission: updated map limits for different caches 2019-10-02 07:48:19 +08:00
vsmk98 3f88b216b7 permission: increased the LRU cache size for permissions 2019-09-30 16:49:20 +08:00
vsmk98 532ba24f48 permission: Added qip714Block check to GetAccountAccess. Corrected comments 2019-09-27 11:40:59 +08:00
vsmk98 4280bdadac permission: Enabled QIP714Block to allow staggered migration of network for enabling new permissions 2019-09-26 15:38:45 +08:00
vsmk98 0605495bef permission: corrected typo on subOrgBreadth and Deapth variable names 2019-09-24 14:03:08 +08:00
Trung Nguyen 40342a1322
permission: minor fixes 2019-09-09 10:28:09 -04:00
vsmk98 50f5852ae4 permission: removed unnecessary mux from permissions_cache.go, added additional unit test for permissions cache, code clean up and documentation change 2019-09-09 15:53:15 +08:00
vsmk98 82fd20b084 permission: unit tests for permission apis 2019-08-30 15:28:35 +08:00
vsmk98 973caccef5 permission: added go tests for permissions cache management 2019-08-19 16:51:43 +08:00
vsmk98 01f4e9b131 permission: node validation changed from string compare to enode id match in ValidateNodeForTxn 2019-08-14 14:15:02 +08:00
vsmk98 b966118614 permissions: added blacklisted account recovery and approval. 2019-08-02 10:28:20 +08:00
vsmk98 b74fc4d0c2 permissions: added functions for blacklisted node recovery. 2019-08-01 11:10:50 +08:00
vsmk98 21780cf12f permission: added safemath checks for map index access. updated documentation. Added event for network boot status update 2019-07-30 16:56:44 +08:00
amalraj.manigmail.com 6d8f451f45 Merge remote-tracking branch 'remotes/quoeng/feature/permissioning-1.8.18-suborgs-docs' into permissioning-suborgs-review
# Conflicts:
#	cmd/geth/main.go
#	controls/bind/permission/permission_impl.go
#	controls/bind/permission/permission_interface.go
#	controls/bind/permission/permission_upgr.go
#	core/types/permissions_cache.go
#	docs/README.md
#	docs/permissions.md
#	eth/backend.go
#	internal/ethapi/api.go
#	permission/api.go
#	permission/bind/implementation.go
#	permission/bind/interface.go
#	permission/bind/permission_impl.go
#	permission/bind/permission_interface.go
#	permission/bind/permission_upgr.go
#	permission/bind/upgradable.go
#	permission/contract/OrgManager.sol
#	permission/contract/PermissionsInterface.sol
#	permission/contract/PermissionsUpgradable.sol
#	permission/contract/abi/OrgManager.abi
#	permission/contract/abi/PermissionsImplementation.abi
#	permission/contract/abi/PermissionsInterface.abi
#	permission/permission.go
2019-07-08 18:57:26 +08:00
Trung Nguyen bc204f148d
run goimports 2019-05-20 11:23:12 -04:00
vsmk98 0cd8c89018 permission: code clean up based on review comments 2019-05-17 16:12:53 +08:00
vsmk98 26279ea288 permissions: fix to correct account access when the org is suspended 2019-05-10 21:53:35 +08:00
vsmk98 ad2abca93a permissions: code comments update 2019-05-10 15:17:01 +08:00
vsmk98 6b66f7e27d permissions: Code clean up. 2019-05-09 11:07:54 +08:00
amalraj.manigmail.com aeb6720274 permission: remove unused code related to org key 2019-05-08 23:06:17 +08:00
amalraj.manigmail.com 6e7f3959e3 permission: update start and initialize service methods
code clean up - remove unused code related to org key
2019-05-08 22:55:03 +08:00
vsmk98 be2331b226 permissions: documentation update and bug fixes 2019-05-08 18:01:30 +08:00
vsmk98 9d844b9dbf permissions: added checks to ensure that a role cannot be removed when active accounts are linked to it. 2019-05-08 11:30:06 +08:00
vsmk98 37f3581192 permissions: validation to check account status for accounts linked to admin roles 2019-05-06 18:37:35 +08:00
vsmk98 385a2334d8 permissions: Changes for the following:
1. added hack to check block syncing before starting permissions api
2. reduced the default gas limit
2019-04-30 18:28:09 +08:00
vsmk98 34565b5252 permissions: Changes for the following:
1. Enabling allow a role to marked as admin role
2. managing error handling
2019-04-26 16:35:51 +08:00
vsmk98 78dbedb254 permissions: Changes for the following:
1. Enabling change of org admin
2. Enabling adding a new or existing account as network admin
3. related changes transaction permissions
2019-04-24 14:40:28 +08:00
vsmk98 afc9e3a967 permissions: node level validation for transactions 2019-04-17 19:16:16 +08:00
vsmk98 355ddd9c5a permissions: api for account status change with necessary validations. Smart contract changes 2019-04-15 15:09:05 +08:00
vsmk98 3dc77f2b62 permissions: Added account status change function. changes to allow breadth and depth of suborg as a part config. 2019-04-15 12:33:34 +08:00
amalraj.manigmail.com 51cb1e3044 permission: fix bugs in validations and org manager event raised 2019-04-12 20:28:22 +08:00
amalraj.manigmail.com cc14183e06 Merge remote-tracking branch 'quoeng/feature/permissioning-1.8.18-suborgs' into feature/permissioning-1.8.18-suborgs
# Conflicts:
#	core/types/permissions_cache.go
2019-04-11 17:18:48 +08:00
amalraj.manigmail.com f6af52b66c permission: add json names and remove getOrgInfo from web3ext 2019-04-11 17:17:12 +08:00
vsmk98 115842dbea permissions: updated the getOrgDetails to return suborg list as well 2019-04-10 21:38:44 +08:00
amalraj.manigmail.com 60f6c9fb07 permission: update orgList to include subOrgList
add new api for getOrgDetails by orgId
2019-04-09 21:11:32 +08:00
vsmk98 1cf69208d7 permissions: changed permissions cache to handle all suborg level attributes 2019-04-09 17:52:06 +08:00
vsmk98 06e949effd permissions: bug fix, code clean up and error handling at api level 2019-04-05 17:16:08 +08:00
vsmk98 ee3d614705 permissions: code clean up. removed unnecessary loop from GetAccount 2019-04-03 14:17:32 +08:00
vsmk98 7ad1fb4ac9 permissions: code clean up. Removed unwanted code. 2019-04-03 12:21:30 +08:00
vsmk98 eb2fce1f53 permissions: combined all org related event monitoring to a single go-routine. Removed unnecessary error handling. Code clean up. 2019-04-01 17:48:37 +08:00
vsmk98 65a0216609 permissions: changed the permissions config struct to have address instead of string. Updated error handling. 2019-04-01 14:33:44 +08:00
amalraj.manigmail.com fd295384f2 permission: handle node pending approval, org pending approval
fix remove role and update node status
2019-03-29 17:49:46 +08:00
amalraj.manigmail.com e6c8e64c35 permission: modify account validation to refer the cache 2019-03-29 14:50:38 +08:00
amalraj.manigmail.com 293370cb94 permission: modify event handling 2019-03-29 12:28:32 +08:00
amalraj.manigmail.com 00c96e2bab integrate permission contracts with geth - update cache from contract and events 2019-03-28 18:59:30 +08:00
amalraj.manigmail.com a98971370c integrate permission contracts with geth - handle mux locks for cache 2019-03-28 11:01:33 +08:00
amalraj.manigmail.com 86ecfa4864 integrate permission contracts with geth - load data from contracts when geth is started 2019-03-27 19:07:01 +08:00
amalraj.manigmail.com 3371aa0ac9 integrate permission contracts with geth - network boot from permission config.json and handle update node approved event, account added event 2019-03-26 23:20:06 +08:00
amalraj.manigmail.com 9f72c2f5a4 integrate permission contracts with geth - update node approved event 2019-03-22 19:34:15 +08:00
amalraj.manigmail.com addb836244 update bootstrapping of permission 2019-03-19 15:29:53 +08:00