@agenticmail/enterprise 0.5.275 → 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,7 +140,7 @@ export function DatabaseAccessPage() {
|
|
|
140
140
|
h('div', { style: s.title },
|
|
141
141
|
I.database(),
|
|
142
142
|
'Database Access',
|
|
143
|
-
h(HelpButton, {
|
|
143
|
+
h(HelpButton, { label: 'Database Access' },
|
|
144
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
145
|
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
146
146
|
),
|
|
@@ -156,14 +156,14 @@ export function DatabaseAccessPage() {
|
|
|
156
156
|
),
|
|
157
157
|
|
|
158
158
|
// Content
|
|
159
|
-
tab === 'connections' && ConnectionsTab
|
|
160
|
-
tab === 'agents' && AgentAccessTab
|
|
161
|
-
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 }),
|
|
162
162
|
|
|
163
163
|
// Modals
|
|
164
|
-
showAdd && AddConnectionModal
|
|
165
|
-
showGrant && GrantAccessModal
|
|
166
|
-
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 }),
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
|
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@ export function DatabaseAccessPage() {
|
|
|
140
140
|
h('div', { style: s.title },
|
|
141
141
|
I.database(),
|
|
142
142
|
'Database Access',
|
|
143
|
-
h(HelpButton, {
|
|
143
|
+
h(HelpButton, { label: 'Database Access' },
|
|
144
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
145
|
h('p', null, 'Credentials are encrypted in the vault. All queries are sanitized, rate-limited, and logged for audit.'),
|
|
146
146
|
),
|
|
@@ -156,14 +156,14 @@ export function DatabaseAccessPage() {
|
|
|
156
156
|
),
|
|
157
157
|
|
|
158
158
|
// Content
|
|
159
|
-
tab === 'connections' && ConnectionsTab
|
|
160
|
-
tab === 'agents' && AgentAccessTab
|
|
161
|
-
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 }),
|
|
162
162
|
|
|
163
163
|
// Modals
|
|
164
|
-
showAdd && AddConnectionModal
|
|
165
|
-
showGrant && GrantAccessModal
|
|
166
|
-
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 }),
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
|