@agenticmail/enterprise 0.5.274 → 0.5.276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -140,13 +140,10 @@ export function DatabaseAccessPage() {
|
|
|
140
140
|
h('div', { style: s.title },
|
|
141
141
|
I.database(),
|
|
142
142
|
'Database Access',
|
|
143
|
-
HelpButton
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
148
|
-
),
|
|
149
|
-
}),
|
|
143
|
+
h(HelpButton, { label: 'Database Access' },
|
|
144
|
+
h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
|
|
145
|
+
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
146
|
+
),
|
|
150
147
|
),
|
|
151
148
|
h('button', { style: s.btnPrimary, onClick: function() { setShowAdd(true); } }, '+ Add Connection'),
|
|
152
149
|
),
|
|
@@ -159,14 +156,14 @@ export function DatabaseAccessPage() {
|
|
|
159
156
|
),
|
|
160
157
|
|
|
161
158
|
// Content
|
|
162
|
-
tab === 'connections' && ConnectionsTab
|
|
163
|
-
tab === 'agents' && AgentAccessTab
|
|
164
|
-
tab === 'audit' && AuditTab
|
|
159
|
+
tab === 'connections' && h(ConnectionsTab, { connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
|
|
160
|
+
tab === 'agents' && h(AgentAccessTab, { connections: connections, agents: agents, onRefresh: loadData }),
|
|
161
|
+
tab === 'audit' && h(AuditTab, { auditLog: auditLog, onRefresh: loadAudit }),
|
|
165
162
|
|
|
166
163
|
// Modals
|
|
167
|
-
showAdd && AddConnectionModal
|
|
168
|
-
showGrant && GrantAccessModal
|
|
169
|
-
editConn && EditConnectionModal
|
|
164
|
+
showAdd && h(AddConnectionModal, { onClose: function() { setShowAdd(false); }, onSave: loadData }),
|
|
165
|
+
showGrant && h(GrantAccessModal, { connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
|
|
166
|
+
editConn && h(EditConnectionModal, { connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
|
|
170
167
|
);
|
|
171
168
|
}
|
|
172
169
|
|
package/package.json
CHANGED
|
@@ -140,13 +140,10 @@ export function DatabaseAccessPage() {
|
|
|
140
140
|
h('div', { style: s.title },
|
|
141
141
|
I.database(),
|
|
142
142
|
'Database Access',
|
|
143
|
-
HelpButton
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
148
|
-
),
|
|
149
|
-
}),
|
|
143
|
+
h(HelpButton, { label: 'Database Access' },
|
|
144
|
+
h('p', null, 'Connect your agents to external databases. Each agent can be granted granular permissions (read, write, delete) on specific database connections.'),
|
|
145
|
+
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
146
|
+
),
|
|
150
147
|
),
|
|
151
148
|
h('button', { style: s.btnPrimary, onClick: function() { setShowAdd(true); } }, '+ Add Connection'),
|
|
152
149
|
),
|
|
@@ -159,14 +156,14 @@ export function DatabaseAccessPage() {
|
|
|
159
156
|
),
|
|
160
157
|
|
|
161
158
|
// Content
|
|
162
|
-
tab === 'connections' && ConnectionsTab
|
|
163
|
-
tab === 'agents' && AgentAccessTab
|
|
164
|
-
tab === 'audit' && AuditTab
|
|
159
|
+
tab === 'connections' && h(ConnectionsTab, { connections: connections, agents: agents, onDelete: deleteConn, onTest: testConn, onEdit: setEditConn, onGrant: setShowGrant, onRefresh: loadData }),
|
|
160
|
+
tab === 'agents' && h(AgentAccessTab, { connections: connections, agents: agents, onRefresh: loadData }),
|
|
161
|
+
tab === 'audit' && h(AuditTab, { auditLog: auditLog, onRefresh: loadAudit }),
|
|
165
162
|
|
|
166
163
|
// Modals
|
|
167
|
-
showAdd && AddConnectionModal
|
|
168
|
-
showGrant && GrantAccessModal
|
|
169
|
-
editConn && EditConnectionModal
|
|
164
|
+
showAdd && h(AddConnectionModal, { onClose: function() { setShowAdd(false); }, onSave: loadData }),
|
|
165
|
+
showGrant && h(GrantAccessModal, { connectionId: showGrant, agents: agents, connections: connections, onClose: function() { setShowGrant(null); }, onSave: loadData }),
|
|
166
|
+
editConn && h(EditConnectionModal, { connection: editConn, onClose: function() { setEditConn(null); }, onSave: loadData }),
|
|
170
167
|
);
|
|
171
168
|
}
|
|
172
169
|
|