A set of parameters for GPUdb::revokePermissionProc. More…
#include <gpudb/protocol/revoke_permission_proc.h>
Public Member Functions | |
| RevokePermissionProcRequest () | |
| Constructs a RevokePermissionProcRequest object with default parameters. | |
| RevokePermissionProcRequest (const std::string &name_, const std::string &permission_, const std::string &procName_, const std::map< std::string, std::string > &options_) | |
| Constructs a RevokePermissionProcRequest 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::string | procName |
| Name of the proc to which the permission grants access. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::revokePermissionProc.
[DEPRECATED–please use GPUdb::revokePermission instead] Revokes a proc-level permission from a user or role.
Definition at line 21 of file revoke_permission_proc.h.
Constructor & Destructor Documentation
◆ RevokePermissionProcRequest() [1/2]
| inline |
Constructs a RevokePermissionProcRequest object with default parameters.
Definition at line 27 of file revoke_permission_proc.h.
◆ RevokePermissionProcRequest() [2/2]
| inline |
Constructs a RevokePermissionProcRequest 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] | procName_ | Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs. |
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 60 of file revoke_permission_proc.h.
Member Data Documentation
◆ name
| std::string gpudb::RevokePermissionProcRequest::name |
Name of the user or role from which the permission will be revoked.
Must be an existing user or role.
Definition at line 72 of file revoke_permission_proc.h.
◆ options
| std::map<std::string, std::string> gpudb::RevokePermissionProcRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 98 of file revoke_permission_proc.h.
◆ permission
| std::string gpudb::RevokePermissionProcRequest::permission |
Permission to revoke from the user or role.
Supported values:
- revoke_permission_proc_proc_admin: Admin access to the proc.
- revoke_permission_proc_proc_execute: Execute access to the proc.
Definition at line 86 of file revoke_permission_proc.h.
◆ procName
| std::string gpudb::RevokePermissionProcRequest::procName |
Name of the proc to which the permission grants access.
Must be an existing proc, or an empty string if the permission grants access to all procs.
Definition at line 93 of file revoke_permission_proc.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/revoke_permission_proc.h