permission and authority issue
cleos set account permission alice active '{"threshold": 1,"keys": [{"key": "EOS7T4xCjbMbU9FfsRTYSmpF3NajPKVxAYmi2sg1FswBrvTdwiEwp","weight": 1}]
,"accounts": [{"permission":{"actor":"dice","permission":"eosio.code"},"weight":1}]}'
owner -p alice
it work on 4.0 but failed on 4.2
what's the detail error message?
@sergmetelin hi, bumping up the issue with the details, as it started to affect us as well:
First permission assignment went through very well
Assign issue permission to codumpresale, codumpubsale and codumsocialb
cleos set account permission codumreserve issue '{"threshold" : 1, "keys" : [], "accounts" : [{"permission":{"actor":"codumpresale","permission":"active"},"weight":1}, {"permission":{"actor":"codumpubsale","permission":"active"},"weight":1}, {"permission":{"actor":"codumsocialb","permission":"active"},"weight":1}]}' active
Second permission assignment did not work out
Assign gradissue permission to codumfounder, codumadvisor and codumcontrib
cleos set account permission codumreserve gradissue '{"threshold" : 1, "keys" : [], "accounts" : [{"permission":{"actor":"codumcontrib","permission":"active"},"weight":1}, {"permission":{"actor":"codumfounder","permission":"active"},"weight":1}, {"permission":{"actor":"codumadvisor","permission":"active"},"weight":1}]}' active
It returns bad authority error with the explanation how to correctly assemble the JSON for authority, which indeed is correct. Assigning permissions for a single account works (currently it is set to codumfounder. You can verify the permission state of codumreserve on the main network.

The second command does not have the accounts sorted alphanumerically as the help text states.
On Sat, Jul 14, 2018, 5:06 AM Kestutis Januskevicius < [email protected]> wrote:
@sergmetelin https://github.com/sergmetelin hi, bumping up the issue with the details, as it started to affect us as well: First permission assignment went through very well
Assign issue permission to codumpresale, codumpubsale and codumsocialb cleos set account permission codumreserve issue '{"threshold" : 1, "keys" : [], "accounts" : [{"permission":{"actor":"codumpresale","permission":"active"},"weight":1}, {"permission":{"actor":"codumpubsale","permission":"active"},"weight":1}, {"permission":{"actor":"codumsocialb","permission":"active"},"weight":1}]}' active Second permission assignment did not work out
Assign gradissue permission to codumfounder, codumadvisor and codumcontrib cleos set account permission codumreserve gradissue '{"threshold" : 1, "keys" : [], "accounts" : [{"permission":{"actor":"codumcontrib","permission":"active"},"weight":1}, {"permission":{"actor":"codumfounder","permission":"active"},"weight":1}, {"permission":{"actor":"codumadvisor","permission":"active"},"weight":1}]}' active
It returns bad authority error with the explanation how to correctly assemble the JSON for authority, which indeed is correct. Assigning permissions for a single account works (currently it is set to codumfounder. You can verify the permission state of codumreserve on the main network.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/3642#issuecomment-405010372, or mute the thread https://github.com/notifications/unsubscribe-auth/ACYR4tMg_fS_MZjAFCpPw9XvzwfPaLsbks5uGbSzgaJpZM4UUV0H .
Answered by wanderingbort and no further details provided. Please refer to latest code and documentation: https://github.com/EOSIO https://developers.eos.io/
Thank you guys, all good and sorted
On Tue 30 Oct 2018, 07:41 Philip Halsall, [email protected] wrote:
Answered by wanderingbort and no further details provided. Please refer to latest code and documentation: https://github.com/EOSIO https://developers.eos.io/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/3642#issuecomment-434200879, or mute the thread https://github.com/notifications/unsubscribe-auth/ACOb9Eh-1Zqfyxdok_xgEmNWC8RSvqyWks5uqAKvgaJpZM4UUV0H .
-- Best Regards, Kestutis Januskevicius UAB Teisingas kodas +37069295411 skype: infohata