| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addWarningIfPrivilegeNotRevoked(Activation activation, boolean
true if grant, false if revoke grant, boolean true, if at least one privilege has been
revoked from a grantee, false otherwise privileges_revoked, String authorization id of the user grantee)This method adds a warning if a revoke statement has not revoked any privileges from a grantee. |
| protected void | checkOwnership(String
authorizationId of current user user, TupleDescriptor object being checked against objectDescriptor, SchemaDescriptor SchemaDescriptor sd, DataDictionary DataDictionary dd)Determines whether a user is the owner of an object (table, function, or procedure). |
| public abstract void | executeGrantRevoke(Activation activation, boolean
true if grant, false if revoke grant, List<E> a list of authorization ids (strings) grantees)This is the guts of the Execution-time logic for GRANT/REVOKE |
| PrivilegeInfo | back to summary |
|---|---|
| public PrivilegeInfo() | |
| addWarningIfPrivilegeNotRevoked | back to summary |
|---|---|
| protected void addWarningIfPrivilegeNotRevoked(Activation activation, boolean grant, boolean privileges_revoked, String grantee) This method adds a warning if a revoke statement has not revoked any privileges from a grantee.
| |
| checkOwnership | back to summary |
|---|---|
| protected void checkOwnership(String user, TupleDescriptor objectDescriptor, SchemaDescriptor sd, DataDictionary dd) throws StandardException Determines whether a user is the owner of an object (table, function, or procedure). Note that Database Owner can access database objects without needing to be their owner
| |
| executeGrantRevoke | back to summary |
|---|---|
| public abstract void executeGrantRevoke(Activation activation, boolean grant, List<E> grantees) throws StandardException This is the guts of the Execution-time logic for GRANT/REVOKE
| |