hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_role_permissions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_ROLE_PERMISSIONS_H
7 #define IROHA_PROTO_GET_ROLE_PERMISSIONS_H
8 
10 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
16  public:
18 
19  const interface::types::RoleIdType &roleId() const override;
20 
21  private:
22  // ------------------------------| fields |-------------------------------
23  const iroha::protocol::GetRolePermissions &role_permissions_;
24  };
25 
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_GET_ROLE_PERMISSIONS_H
const interface::types::RoleIdType & roleId() const override
Definition: proto_get_role_permissions.cpp:14
Definition: proto_get_role_permissions.hpp:15
Definition: get_role_permissions.hpp:18
Definition: command_executor.hpp:12
GetRolePermissions(iroha::protocol::Query &query)
Definition: proto_get_role_permissions.cpp:11
std::string RoleIdType
Type of role (i.e admin, user)
Definition: types.hpp:51