[EOSIO/eos] When does the account require the eosio.code permission to do some action on its own? (#4895)

@7flash nice solution!