Page MenuHomePhabricator

D12594.id42408.diff
No OneTemporary

D12594.id42408.diff

diff --git a/lib/permissions/minimally-encoded-thread-permissions-test-data.js b/lib/permissions/minimally-encoded-thread-permissions-test-data.js
--- a/lib/permissions/minimally-encoded-thread-permissions-test-data.js
+++ b/lib/permissions/minimally-encoded-thread-permissions-test-data.js
@@ -332,14 +332,12 @@
minimallyEncoded: true,
id: '256',
role: null,
- permissions: '87fff',
isSender: false,
},
{
minimallyEncoded: true,
id: '83853',
role: '85172',
- permissions: '3027f',
isSender: true,
},
],
diff --git a/lib/permissions/special-roles.test.js b/lib/permissions/special-roles.test.js
--- a/lib/permissions/special-roles.test.js
+++ b/lib/permissions/special-roles.test.js
@@ -62,14 +62,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
@@ -159,14 +157,12 @@
{
id: '256',
role: null,
- permissions: '2c7fff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '256|83815',
- permissions: '3026f',
isSender: true,
minimallyEncoded: true,
},
diff --git a/lib/reducers/calendar-filters-reducer.test.js b/lib/reducers/calendar-filters-reducer.test.js
--- a/lib/reducers/calendar-filters-reducer.test.js
+++ b/lib/reducers/calendar-filters-reducer.test.js
@@ -31,14 +31,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: true,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
@@ -86,14 +84,12 @@
{
id: '256',
role: null,
- permissions: '2c7fff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83816',
- permissions: '3026f',
isSender: true,
minimallyEncoded: true,
},
diff --git a/lib/reducers/integrity-reducer.test.js b/lib/reducers/integrity-reducer.test.js
--- a/lib/reducers/integrity-reducer.test.js
+++ b/lib/reducers/integrity-reducer.test.js
@@ -51,14 +51,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: true,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
diff --git a/lib/shared/thread-utils.test.js b/lib/shared/thread-utils.test.js
--- a/lib/shared/thread-utils.test.js
+++ b/lib/shared/thread-utils.test.js
@@ -90,14 +90,12 @@
{
id: '256',
role: '83796',
- permissions: '3f73ff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
diff --git a/lib/types/minimally-encoded-thread-permissions-types.js b/lib/types/minimally-encoded-thread-permissions-types.js
--- a/lib/types/minimally-encoded-thread-permissions-types.js
+++ b/lib/types/minimally-encoded-thread-permissions-types.js
@@ -164,7 +164,7 @@
export type ThinRawThreadInfo = $ReadOnly<{
...LegacyThinRawThreadInfo,
+minimallyEncoded: true,
- +members: $ReadOnlyArray<MemberInfoWithPermissions>,
+ +members: $ReadOnlyArray<MemberInfoSansPermissions>,
+roles: { +[id: string]: RoleInfo },
+currentUser: ThreadCurrentUserInfo,
}>;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 10:18 AM (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2487362
Default Alt Text
D12594.id42408.diff (3 KB)

Event Timeline