Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -41,6 +41,16 @@ export type IndexedEntity = IndexedEntityConfig & { key: string };
|
||||
* grouping + deep-link routing). Empty until fachmodule register their entities.
|
||||
*/
|
||||
export const indexedEntities = {
|
||||
// Team chat (AK-P15b). Normal member search is executed against PostgreSQL
|
||||
// with active-channel membership in the same RLS transaction. The central
|
||||
// index is intentionally gated to tenant-wide chat auditors so a coarse
|
||||
// global permission can never expose messages from an unreadable channel.
|
||||
chatMessage: {
|
||||
table: "TeamChatMessage",
|
||||
index: "chat-messages",
|
||||
searchable: ["body"],
|
||||
permission: "chat.read_all_channels",
|
||||
},
|
||||
// Files (AK-P4a). Tenant-scoped; only files the user may read_all surface in
|
||||
// global search (owner/link-scoped read_own visibility is enforced at the
|
||||
// route layer, not here).
|
||||
@@ -97,6 +107,16 @@ export const indexedEntities = {
|
||||
searchable: ["projectNumber", "name", "description", "type", "source"],
|
||||
permission: "projects.read_all",
|
||||
},
|
||||
// Personnel directory (R-UX3). Only non-sensitive profile fields are
|
||||
// searchable. `hr.read_own` is applied as a stricter self/direct-report
|
||||
// fallback by the global-search service; tenant-wide results require the
|
||||
// registry permission below.
|
||||
employee: {
|
||||
table: "HrEmployeeProfile",
|
||||
index: "hr-directory",
|
||||
searchable: ["name", "email", "position", "team"],
|
||||
permission: "hr.read_all",
|
||||
},
|
||||
user: {
|
||||
table: "TenantUser",
|
||||
index: "users",
|
||||
|
||||
Reference in new issue
Block a user