{"action":"closed","issue":{"url":"https://api.github.com/repos/EOSIO/eos/issues/6107","repository_url":"https://api.github.com/repos/EOSIO/eos","labels_url":"https://api.github.com/repos/EOSIO/eos/issues/6107/labels{/name}","comments_url":"https://api.github.com/repos/EOSIO/eos/issues/6107/comments","events_url":"https://api.github.com/repos/EOSIO/eos/issues/6107/events","html_url":"https://github.com/EOSIO/eos/issues/6107","id":372789418,"node_id":"MDU6SXNzdWUzNzI3ODk0MTg=","number":6107,"title":"EOS Permissions ","user":{"login":"jinjin08021","id":44386019,"node_id":"MDQ6VXNlcjQ0Mzg2MDE5","avatar_url":"https://avatars1.githubusercontent.com/u/44386019?v=4","gravatar_id":"","url":"https://api.github.com/users/jinjin08021","html_url":"https://github.com/jinjin08021","followers_url":"https://api.github.com/users/jinjin08021/followers","following_url":"https://api.github.com/users/jinjin08021/following{/other_user}","gists_url":"https://api.github.com/users/jinjin08021/gists{/gist_id}","starred_url":"https://api.github.com/users/jinjin08021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinjin08021/subscriptions","organizations_url":"https://api.github.com/users/jinjin08021/orgs","repos_url":"https://api.github.com/users/jinjin08021/repos","events_url":"https://api.github.com/users/jinjin08021/events{/privacy}","received_events_url":"https://api.github.com/users/jinjin08021/received_events","type":"User","site_admin":false},"labels":[{"id":936623288,"node_id":"MDU6TGFiZWw5MzY2MjMyODg=","url":"https://api.github.com/repos/EOSIO/eos/labels/Support","name":"Support","color":"7d7ad6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-23T03:16:27Z","updated_at":"2018-10-25T08:35:00Z","closed_at":"2018-10-25T08:35:00Z","author_association":"NONE","body":"I created admin account with associated accounts like the follow: \r\n\r\n`cleos get account admin`\r\n`     owner     1:    1 alice@owner, 1 carol@owner, 1 bob@owner, \r\n        active     1:    1 alice@active, 1 carol@active, 1 bob@active, \r\n`\r\n\r\nIn my contract, I have this assert statement. \r\n`eosio_assert(has_auth(N(admin)),\"has to have valid authority\");`\r\n\r\nWhen alice calls this contract with its own active permission, it fails this assert statement. \r\n\r\nI thought when admin has the following accounts with the threshold of 1, any of the account can act on behalf of admin. Am I missing something here? "}}
{"actor":{"display_login":"andriantolie"}}