eos icon indicating copy to clipboard operation
eos copied to clipboard

has_auth2()

Open StarryJapanNight opened this issue 8 years ago • 1 comments

Currently we have require_auth(account) and require_auth2(account,permission). It would be very useful to have an has_auth2(account, permission) as well. Is this possible, or is there a workaround?

StarryJapanNight avatar Jul 26 '18 05:07 StarryJapanNight

Here is the workaround: You can make an extra action parameter for the account information that you wish to check the permission.

taokayan avatar Jul 31 '18 08:07 taokayan