Enumerate privileges and object types
See schema.rs:
pub struct PrivilegeDef {
...
pub object_type: String,
pub object_name: String,
pub privilege: String,
}
Let's make enums for object_type and privilege
See schema.rs:
pub struct PrivilegeDef {
...
pub object_type: String,
pub object_name: String,
pub privilege: String,
}
Let's make enums for object_type and privilege