Add RBAC support with roles, permissions, and session management. Implement middleware for authentication and CSRF protection. Enhance audit logging with additional fields. Update HTTP handlers and routes for new features.
This commit is contained in:
17
migrations/0006_minio.sql
Normal file
17
migrations/0006_minio.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
-- 0006_minio.sql
|
||||
CREATE TABLE IF NOT EXISTS object_storage (
|
||||
id TEXT PRIMARY KEY,
|
||||
name TEXT,
|
||||
access_key TEXT,
|
||||
secret_key TEXT,
|
||||
data_path TEXT,
|
||||
port INTEGER,
|
||||
tls INTEGER DEFAULT 0,
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS buckets (
|
||||
id TEXT PRIMARY KEY,
|
||||
name TEXT,
|
||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Reference in New Issue
Block a user