Drop groupIds from customer data-access filters; keep visibility via group assignees only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-12 19:50:02 +03:30
co-authored by Cursor
parent 9af0e9e94e
commit b00465439e
4 changed files with 45 additions and 41 deletions
+4 -1
View File
@@ -653,7 +653,10 @@ export const DATA_ACCESS_LEGACY_SCOPE: Record<DataAccessSection, DataScope | nul
export type DataAccessRule = {
/** self / team → مالک / مسئول / نویسنده (بسته به بخش) */
owners?: DataAccessOwnerKind[];
/** مشتریان: گروه‌ها */
/**
* @deprecated دید گروه مشتریان از مسئول‌گروه است، نه این فیلد.
* در پارس باقی می‌ماند برای سازگاری؛ در فیلتر دسترسی نادیده گرفته می‌شود.
*/
groupIds?: string[];
/** مشتریان: importSource/sourceRef · لیدها: source · یادداشت: noteType · تیکت: status */
sources?: string[];