feat: edit SQLite databases in the file manager - the agent opens them through SQLite: values by a click, rows added and deleted, an SQL tab; changes go to the audit log
This commit is contained in:
1 parent
0279c1d887
commit
0fa3de757c
7 files changed
+947
-13
No files matched your search
@@ -39,6 +39,8 @@ func dispatchTask(env proto.TaskEnvelope) (any, error) {
|
||||
var a proto.SysUserAddArgs
|
||||
_ = json.Unmarshal(env.Args, &a)
|
||||
return nil, addUser(a)
|
||||
case proto.TaskDBTables, proto.TaskDBRows, proto.TaskDBSet, proto.TaskDBAdd, proto.TaskDBDel, proto.TaskDBSQL:
|
||||
return dbTask(env)
|
||||
}
|
||||
return dispatchFS(env)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user