Extend CDB_UserTables to take an optional permission type string

Supported types: private, public, all

Closes #253