Commit Graph

11008 Commits

Author SHA1 Message Date
amalraj.manigmail.com 468478be78 permission: refactor dir structure for contract 2019-05-08 18:08:08 +08:00
amalraj.manigmail.com 3aad59fc58 permission: if permission config is missing start with permission service disabled 2019-05-08 15:16:16 +08:00
amalraj.manigmail.com cfc59bab76 permission: removed unused eth from args and revert passing eth channel to raft 2019-05-08 14:33:24 +08:00
amalraj.manigmail.com 7e4b3ff310 permission: implement permission as standard service of the node 2019-05-08 14:07:23 +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 8e57f36013 permissions: added validation to ensure the updateOrgStatus is called only on the master org and not for sub orgs 2019-05-07 16:23:17 +08:00
vsmk98 e3bdff5f6f permissions: corrected the org id validation for adding a new org 2019-05-07 14:41:09 +08:00
vsmk98 a81caa4362 permissions: documentation update 2019-05-07 13:24:13 +08:00
vsmk98 fff1cfe325 permissions: documentation update 2019-05-07 12:50:27 +08:00
vsmk98 026b09c9ca permissions: documentation update 2019-05-07 12:44:12 +08:00
vsmk98 d16634c391 permissions: Documentation update for permissions 2019-05-07 11:12:55 +08:00
vsmk98 425c136e1e permissions: documentation update for permissions 2019-05-06 18:41:21 +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 2716937f2e permissions: changes to check for node syncing before starting permissions 2019-05-03 15:31:26 +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 aad04ea4c0 permissions: revert of org admin changes 2019-04-22 09:51:03 +08:00
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 29ebd34963 permissions: fixed the validation of org admin to ensure that a network admin account will be able to add roles, accounts etc. to the network admin org. Allowed for multiple org admins 2019-04-18 13:58:08 +08:00
vsmk98 e61d765aab permissions: removed unwanted code 2019-04-17 21:37:41 +08:00
vsmk98 650cd6eca5 permissions: changed isOrgAdmin check to validate for network admin as well 2019-04-17 21:35:26 +08:00
vsmk98 afc9e3a967 permissions: node level validation for transactions 2019-04-17 19:16:16 +08:00
vsmk98 d6f14dc123 permissions: nil condition check in getOrgDetails 2019-04-17 19:15:07 +08:00
vsmk98 9f1921df36 permissions: fixed issue with isOrgAdmin 2019-04-17 13:45:41 +08:00
vsmk98 47dd9d51c2 permissions: changed isOrgAdmin check to validate for network admin as well 2019-04-16 14:14:08 +08:00
vsmk98 505d8e1806 permissions: changed isOrgAdmin check to validate for network admin as well 2019-04-16 12:03:47 +08:00
vsmk98 485049f16e permissions: added validation to check the max breadth and depth when creating a sub org 2019-04-16 10:51:40 +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
vsmk98 e243b4eef3 permissions: replaced isOrgExists with validateOrg for better error checks 2019-04-10 20:04:40 +08:00
vsmk98 610bd49719 permissions: modified isOrgExists check for suborgs as well 2019-04-10 13:59:15 +08:00
vsmk98 fda4f6f873 permissions: Added validation to check that org id cannot have "." 2019-04-10 12:35:52 +08:00
vsmk98 b37af2f74a permissions: changes to enables roles defined at org level to be available at sub org level 2019-04-10 11:10:35 +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 6f7c413a90 permissions: changes for enabling suborg 2019-04-09 14:58:30 +08:00
amalraj.manigmail.com c1ae36f27b permission: merge with code improvements to contract and api 2019-04-08 22:26:13 +08:00
amalraj.manigmail.com cf97fde8d9 permission: merge with code improvements to contract and api 2019-04-08 19:49:51 +08:00
vsmk98 24d4e9390e permissions: changed api for addOrg. added account as one of the attributes 2019-04-08 16:57:36 +08:00
vsmk98 06e949effd permissions: bug fix, code clean up and error handling at api level 2019-04-05 17:16:08 +08:00
amalraj.manigmail.com 5f5c222246 permission: allow sub orgs to be added to orgs 2019-04-04 18:25:43 +08:00
vsmk98 0a48f6b01d permissions: api level changes for error handling and validation. 2019-04-04 18:15:53 +08:00
amalraj.manigmail.com 2bd92a2622 permission: allow sub orgs to be added to orgs 2019-04-03 22:25:01 +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