Commit Graph

65 Commits

Author SHA1 Message Date
vsmk98 2e9e2781f6 permissions: fixed the following 2 issues
1. update of permissioned-nodes.json was happening when the new org was proposed. Changed it to update only when the node is approved
2. corrected error message in api.go
2019-04-18 15:05:02 +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
vsmk98 1cf69208d7 permissions: changed permissions cache to handle all suborg level attributes 2019-04-09 17:52:06 +08:00
vsmk98 6f7c413a90 permissions: changes for enabling suborg 2019-04-09 14:58:30 +08:00
vsmk98 40fd7001cd permissions: Reduced number of go routines being called for various events. Code clean up. 2019-04-02 14:13:23 +08:00
vsmk98 5a97fc4b99 permissions: Org admin role from config was not read properly. Corrected the same. 2019-04-02 11:37:09 +08:00
vsmk98 2fd649bb36 Merge remote-tracking branch 'qeng/feature/permissioning-1.8.18' into feature/permissioning-1.8.18 2019-04-01 18:30:51 +08:00
vsmk98 9f9145f8d0 permissions: code revamp 2019-04-01 18:30:42 +08:00
amalraj.manigmail.com ec650d97a4 permission: update permission config parsing 2019-04-01 18:25:37 +08:00
amalraj.manigmail.com bc61ff23f5 Merge remote-tracking branch 'quoeng/feature/permissioning-1.8.18' into feature/permissioning-1.8.18
# Conflicts:
#	controls/permission/permission.go
2019-04-01 18:23:52 +08:00
amalraj.manigmail.com 5836df7d8c permission: add web3api calls 2019-04-01 18:22:41 +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 1d8a054207 integrate permission contracts with geth - update cache from contract and events 2019-03-28 18:00:17 +08:00
amalraj.manigmail.com eeda3e7044 integrate permission contracts with geth - update cache from contract and events 2019-03-28 12:44:47 +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
amalraj.manigmail.com 5c8aecc15c code improvements 2019-03-14 14:26:17 +08:00
amalraj.manigmail.com 1b93ecfd10 read permission-config from a json file for bootstrapping 2019-03-12 11:18:20 +08:00
amalraj.manigmail.com a8c050df22 Merge remote-tracking branch 'remotes/quoeng/feature/permissioning-1.8.12' into feature/permissioning-1.8.18
# Conflicts:
#	cmd/bootnode/main.go
#	internal/web3ext/web3ext.go
#	p2p/discover/udp.go
#	p2p/discover/udp_test.go
#	p2p/permissions.go
#	p2p/server.go

poc to pass permission contract via command line
2019-03-08 17:09:24 +08:00
vsmk98 564d35f94a changes to error handling and fixing code review comments 2019-02-14 10:24:32 +08:00
vsmk98 7aedef0937 corrected log.error messages 2019-02-13 17:42:59 +08:00
vsmk98 b0cd2b5ef2 updated code comments 2019-02-13 12:31:11 +08:00
vsmk98 13bccaa9c6 code changes to fix review comments 2019-02-12 09:54:13 +08:00
vsmk98 8673598d3b added check to allo only an account with full access rights can add voter at master org level 2019-02-08 16:29:27 +08:00
vsmk98 680dd3cd7f modified the error message 2019-02-07 14:35:22 +08:00
vsmk98 1f527f7b3b Added check to ensure that at least one account is given as a part of genesis.json for initial network to come up 2019-02-07 14:31:19 +08:00
vsmk98 178d7629c4 added error message when a node not part of network is added is proposed for deactviation 2019-02-07 12:45:29 +08:00
vsmk98 70b66fb808 changes for solc compire change 0.5.3 version 2019-01-29 13:52:58 +08:00
vsmk98 412ba4d73d changes to avoid duplicate records in permissioned-nodes.json 2019-01-24 13:35:46 +08:00
vsmk98 4d6cf6da77 added checks to validate that the contract code is existing at the address 2019-01-21 16:18:59 +08:00
vsmk98 2d46b297c4 changes to not update the permissioned-nodes.json in case of restart 2019-01-11 11:38:02 +08:00
vsmk98 45189d42c7 minor changes to avoid package name changes of abigen output 2019-01-08 14:40:57 +08:00
vsmk98 5b34cb7eee handling null pointer error for voter list when network brought in non permissioned mode 2018-11-20 22:51:49 +08:00
vsmk98 cdf0e0dd5e validation to check voter account access before adding as voter 2018-11-20 21:29:03 +08:00
vsmk98 844fb584d2 changed to update permissioned-nodes.json, added additional check in api.go 2018-11-20 15:43:56 +08:00
amalraj.manigmail.com 442e364be1 populate initial accounts with full access via genesis.json - contract's storge 2018-11-16 18:08:49 +08:00
vsmk98 4fdb4ec480 changes to account access logic 2018-11-16 11:07:10 +08:00
vsmk98 d49ed0318e Merge branch '1812-permission-rpc-api' of https://github.com/vsmk98/quorum into 1812-permission-rpc-api
merge with Amal's api segregation changes
2018-11-15 13:25:25 +08:00
vsmk98 4bcae7bd9b fatal error if a node joins permissioned network in non permissioned mode 2018-11-15 13:23:59 +08:00
amalraj.manigmail.com 20c8847831 Merge remote-tracking branch 'saiv/1812-permission-rpc-api' into 1812-permission-rpc-api-new
# Conflicts:
#	controls/permission/permission.go
2018-11-14 18:25:15 +08:00
amalraj.manigmail.com 9628cb5e2b format code 2018-11-14 18:24:28 +08:00