Title: Inline action with 2 permissions/authorizations
Tags: eosio-code;eosiocpp
Question: I have 3 accounts:
Contract Account.
Storage Account.
Recipient Account.
I made a smart contract to give out tokens from Storage Account to the Recipient Account using a claim function from the Contract Account.
Current error I'm getting is Error: missing authority of {Storage Account}.
I've already given eosio.code permission to Contract Account.
I'm guessing the fix to this problem is to add 2 permissions/authorizations to the claim function of the smart contract but I don't know how to do that.
Comment: Have you been able to solve this? I'm facing a similar issue.

Comment: Try asking here: https://t.me/joinchat/0uhWYfXVpPlkNTA1

Comment: Hi @soulseekah not yet, still wondering how to do this, I asked on the telegram channel provided above but one of the volunteers were kinda toxic so went out right away

Comment: can you pls post here the link to the telegram channel with your post in that dev telegram channel? I tried to find it but I couldn't.

Here is the accepted answer: you can send a vector of permissions instead just one:
https://developers.eos.io/manuals/eosio.cdt/latest/structeosio_1_1action#function-action-33
however, did you try to send just the Storage Permission instead of what you are sending now?
Comment for this answer: Hi, I'm really late to reply to you.
Sorry about that, I haven't done that yet as I've made a different way of handling this which is adding the tokens to the actual contract's account, giving the contract code account active permission and allowing it to directly do transfers on behalf of its own account. Not sure if I made sense but that's how I solved the problem I had.
I think this is kinda the same as what you said just in the sense that i had used the contract itself to do transfers. Do you think this is okay? Thanks!
Comment for this answer: that works as well, so you eliminated the storage account from equation.


{'source': 'StackExchangeDataset', 'subset': 'eosio.stackexchange.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 4, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:08/28/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<eosio-code><eosiocpp>', 'Title': 'Inline action with 2 permissions/authorizations', 'ViewCount': 52, 'id': 6075, 'user_AboutMe': '<p>Learning is life.</p>\n', 'user_AccountId': 4092650.0, 'user_DisplayName': 'Jesseeeee', 'user_Reputation': 51.0, 'user_Views': 3.0, 'user_id': 5551.0}}