6 #ifndef IROHA_POSTGRES_WSV_COMMAND_HPP 7 #define IROHA_POSTGRES_WSV_COMMAND_HPP 42 const std::string &key,
43 const std::string &val)
override;
66 &permittee_account_id,
72 &permittee_account_id,
82 #endif // IROHA_POSTGRES_WSV_COMMAND_HPP Definition: account.hpp:20
PostgresWsvCommand(soci::session &sql)
Definition: postgres_wsv_command.cpp:33
Grantable
Definition: permissions.hpp:70
WsvCommandResult setAccountKV(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &key, const std::string &val) override
Definition: postgres_wsv_command.cpp:378
WsvCommandResult insertAsset(const shared_model::interface::Asset &asset) override
Definition: postgres_wsv_command.cpp:201
Definition: permissions.hpp:96
Definition: domain.hpp:19
WsvCommandResult insertSignatory(const shared_model::interface::types::PubkeyType &signatory) override
Definition: postgres_wsv_command.cpp:243
WsvCommandResult updateAccount(const shared_model::interface::Account &account) override
Definition: postgres_wsv_command.cpp:361
WsvCommandResult deleteAccountRole(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:64
expected::Result< void, WsvError > WsvCommandResult
Definition: wsv_command.hpp:43
WsvCommandResult upsertAccountAsset(const shared_model::interface::AccountAsset &asset) override
Definition: postgres_wsv_command.cpp:220
WsvCommandResult deleteSignatory(const shared_model::interface::types::PubkeyType &signatory) override
Definition: postgres_wsv_command.cpp:295
Definition: wsv_command.hpp:48
WsvCommandResult insertAccountSignatory(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::PubkeyType &signatory) override
Definition: postgres_wsv_command.cpp:259
Definition: block_query.hpp:14
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
WsvCommandResult insertAccountRole(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:46
WsvCommandResult insertAccount(const shared_model::interface::Account &account) override
Definition: postgres_wsv_command.cpp:177
WsvCommandResult deleteAccountSignatory(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::PubkeyType &signatory) override
Definition: postgres_wsv_command.cpp:277
WsvCommandResult insertRole(const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:35
WsvCommandResult deleteAccountGrantablePermission(const shared_model::interface::types::AccountIdType &permittee_account_id, const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::permissions::Grantable permission) override
Definition: postgres_wsv_command.cpp:143
Definition: postgres_wsv_command.hpp:16
Definition: public_key.hpp:16
WsvCommandResult insertDomain(const shared_model::interface::Domain &domain) override
Definition: postgres_wsv_command.cpp:344
WsvCommandResult deletePeer(const shared_model::interface::Peer &peer) override
Definition: postgres_wsv_command.cpp:328
WsvCommandResult insertPeer(const shared_model::interface::Peer &peer) override
Definition: postgres_wsv_command.cpp:313
WsvCommandResult insertRolePermissions(const shared_model::interface::types::RoleIdType &role_id, const shared_model::interface::RolePermissionSet &permissions) override
Definition: postgres_wsv_command.cpp:83
Definition: account_asset.hpp:20
std::string RoleIdType
Type of role (i.e admin, user)
Definition: types.hpp:51
WsvCommandResult insertAccountGrantablePermission(const shared_model::interface::types::AccountIdType &permittee_account_id, const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::permissions::Grantable permission) override
Definition: postgres_wsv_command.cpp:109