A set of parameters for GPUdb::revokePermissionSystem. More…
#include <gpudb/protocol/revoke_permission_system.h>
Public Member Functions | |
| RevokePermissionSystemRequest () | |
| Constructs a RevokePermissionSystemRequest object with default parameters. | |
| RevokePermissionSystemRequest (const std::string &name_, const std::string &permission_, const std::map< std::string, std::string > &options_) | |
| Constructs a RevokePermissionSystemRequest object with the specified parameters. | |
Public Attributes | |
| std::string | name |
| Name of the user or role from which the permission will be revoked. | |
| std::string | permission |
| Permission to revoke from the user or role. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::revokePermissionSystem.
Revokes a system-level permission from a user or role.
Definition at line 18 of file revoke_permission_system.h.
Constructor & Destructor Documentation
◆ RevokePermissionSystemRequest() [1/2]
| inline |
Constructs a RevokePermissionSystemRequest object with default parameters.
Definition at line 24 of file revoke_permission_system.h.
◆ RevokePermissionSystemRequest() [2/2]
| inline |
Constructs a RevokePermissionSystemRequest object with the specified parameters.
| [in] | name_ | Name of the user or role from which the permission will be revoked. Must be an existing user or role. |
| [in] | permission_ | Permission to revoke from the user or role. Supported values:
|
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 67 of file revoke_permission_system.h.
Member Data Documentation
◆ name
| std::string gpudb::RevokePermissionSystemRequest::name |
Name of the user or role from which the permission will be revoked.
Must be an existing user or role.
Definition at line 78 of file revoke_permission_system.h.
◆ options
| std::map<std::string, std::string> gpudb::RevokePermissionSystemRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 107 of file revoke_permission_system.h.
◆ permission
| std::string gpudb::RevokePermissionSystemRequest::permission |
Permission to revoke from the user or role.
Supported values:
- revoke_permission_system_system_admin: Full access to all data and system functions.
- revoke_permission_system_system_user_admin: Access to administer users and roles that do not have system_admin permission.
- revoke_permission_system_system_write: Read and write access to all tables.
- revoke_permission_system_system_read: Read-only access to all tables.
- revoke_permission_system_system_send_alert: Send system alerts.
Definition at line 102 of file revoke_permission_system.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/revoke_permission_system.h