#include "create_role.hpp"


Public Member Functions | |
| bool | operator== (const Command &command) const override |
| CreateRole () | |
| CreateRole (const std::string &role_name_, const std::set< std::string > &perms) | |
Public Member Functions inherited from iroha::model::Command | |
| virtual | ~Command ()=default |
| virtual bool | operator!= (const Command &rhs) const |
Public Attributes | |
| std::string | role_name |
| std::set< std::string > | permissions |
Create new role in the system
|
inline |
|
inline |
| role_name_ | - name of the role in the system |
| perms | - set of permissions for the role |
|
overridevirtual |
Implements iroha::model::Command.
| std::set<std::string> iroha::model::CreateRole::permissions |
Role permissions
| std::string iroha::model::CreateRole::role_name |
Role to insert to the system