mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-28 16:09:17 +00:00
feat(oracle): add SYSDBA authentication support
Switch oracle-rs to t8y2/oracle-rs fork with SYSDBA support. Add sysdba field to ConnectionConfig and a checkbox in the Oracle connection dialog to enable connecting as SYS with SYSDBA privileges.
This commit is contained in:
@@ -794,6 +794,14 @@ async function browseSshKeyPath() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div v-if="form.db_type === 'oracle'" class="grid grid-cols-4 items-center gap-4">
|
||||
<Label class="text-right text-xs">SYSDBA</Label>
|
||||
<label class="col-span-3 flex items-center gap-2 cursor-pointer">
|
||||
<input type="checkbox" v-model="form.sysdba" class="mr-0" />
|
||||
<span class="text-xs text-muted-foreground">as SYSDBA</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="form.db_type === 'mysql' || form.db_type === 'postgres'"
|
||||
class="grid grid-cols-4 items-center gap-4"
|
||||
|
||||
@@ -35,6 +35,7 @@ export interface ConnectionConfig {
|
||||
ssh_key_passphrase?: string;
|
||||
ssh_expose_lan?: boolean;
|
||||
ssl?: boolean;
|
||||
sysdba?: boolean;
|
||||
connection_string?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user