#include <TableAuthorization.h>
Public Member Functions | |
TableAuthorization (const TableAuthorization &auth) | |
TableAuthorization & | operator= (const TableAuthorization &auth) |
int | getNumRules () |
std::string | getRule (int ruleNum) |
void | addRule (std::string rule) |
|
Adds a rule to this TableAuthorization. A rule consists of a view on a table (a parameterized SELECT statement) and a set of allowed credentials specifying which users can access the view, separated by a colon.
|
|
Gets the number of rules in this TableAuthorization.
|
|
Gets the specified rule.
|