eos
eos copied to clipboard
has_auth2()
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?
Here is the workaround: You can make an extra action parameter for the account information that you wish to check the permission.