#include "grant_permission.hpp"


Public Member Functions | |
| bool | operator== (const Command &command) const override |
| GrantPermission () | |
| GrantPermission (const std::string &account_id_, const std::string &permission_name_) | |
Public Member Functions inherited from iroha::model::Command | |
| virtual | ~Command ()=default |
| virtual bool | operator!= (const Command &rhs) const |
Public Attributes | |
| std::string | account_id |
| std::string | permission_name |
Grant permission from creator to account_id
|
inline |
|
inline |
|
overridevirtual |
Implements iroha::model::Command.
| std::string iroha::model::GrantPermission::account_id |
Account to which grant the permission. Permission will be granted from creator to account_id on permission_name
| std::string iroha::model::GrantPermission::permission_name |
Permission to grant (what)