Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3523638
D10115.id34074.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
8 KB
Referenced Files
None
Subscribers
None
D10115.id34074.diff
View Options
diff --git a/native/redux/update-roles-and-permissions-test-data.js b/native/redux/update-roles-and-permissions-test-data.js
--- a/native/redux/update-roles-and-permissions-test-data.js
+++ b/native/redux/update-roles-and-permissions-test-data.js
@@ -285,6 +285,7 @@
'83795': {
id: '83795',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
descendant_open_know_of: true,
@@ -297,6 +298,7 @@
'83796': {
id: '83796',
isDefault: false,
+ specialRole: 2,
name: 'Admins',
permissions: {
add_members: true,
@@ -621,6 +623,7 @@
'84597': {
id: '84597',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
child_open_join_thread: true,
@@ -921,6 +924,7 @@
'84599': {
id: '84599',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
child_open_join_thread: true,
@@ -1309,6 +1313,7 @@
'84628': {
id: '84628',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
child_open_join_thread: true,
@@ -1784,6 +1789,7 @@
'84657': {
id: '84657',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
add_members: true,
@@ -2179,6 +2185,7 @@
'86072': {
id: '86072',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
child_open_join_thread: true,
@@ -2654,6 +2661,7 @@
'87790': {
id: '87790',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
add_members: true,
@@ -3136,6 +3144,7 @@
'87818': {
id: '87818',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
add_members: true,
@@ -3531,6 +3540,7 @@
'87838': {
id: '87838',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {
add_members: true,
@@ -3837,12 +3847,14 @@
'83795': {
id: '83795',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
'83796': {
id: '83796',
isDefault: false,
+ specialRole: 2,
name: 'Admins',
permissions: {},
},
@@ -4131,6 +4143,7 @@
'84597': {
id: '84597',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -4418,6 +4431,7 @@
'84599': {
id: '84599',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -4792,6 +4806,7 @@
'84628': {
id: '84628',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -5253,6 +5268,7 @@
'84657': {
id: '84657',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -5627,6 +5643,7 @@
'86072': {
id: '86072',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -6088,6 +6105,7 @@
'87790': {
id: '87790',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -6549,6 +6567,7 @@
'87818': {
id: '87818',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -6923,6 +6942,7 @@
'87838': {
id: '87838',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7057,12 +7077,14 @@
'83795': {
id: '83795',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
'83796': {
id: '83796',
isDefault: false,
+ specialRole: 2,
name: 'Admins',
permissions: {},
},
@@ -7189,6 +7211,7 @@
'84597': {
id: '84597',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7314,6 +7337,7 @@
'84599': {
id: '84599',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7445,6 +7469,7 @@
'84628': {
id: '84628',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7582,6 +7607,7 @@
'84657': {
id: '84657',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7713,6 +7739,7 @@
'86072': {
id: '86072',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7850,6 +7877,7 @@
'87790': {
id: '87790',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -7987,6 +8015,7 @@
'87818': {
id: '87818',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8118,6 +8147,7 @@
'87838': {
id: '87838',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8171,12 +8201,14 @@
'83795': {
id: '83795',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
'83796': {
id: '83796',
isDefault: false,
+ specialRole: 2,
name: 'Admins',
permissions: {},
},
@@ -8222,6 +8254,7 @@
'84597': {
id: '84597',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8266,6 +8299,7 @@
'84599': {
id: '84599',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8316,6 +8350,7 @@
'84628': {
id: '84628',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8372,6 +8407,7 @@
'84657': {
id: '84657',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8422,6 +8458,7 @@
'86072': {
id: '86072',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8478,6 +8515,7 @@
'87790': {
id: '87790',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8534,6 +8572,7 @@
'87818': {
id: '87818',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -8584,6 +8623,7 @@
'87838': {
id: '87838',
isDefault: true,
+ specialRole: 1,
name: 'Members',
permissions: {},
},
@@ -9174,6 +9214,7 @@
voiced: true,
},
isDefault: true,
+ specialRole: 1,
},
'256|84854': {
id: '256|84854',
@@ -9218,6 +9259,7 @@
leave_thread: true,
},
isDefault: false,
+ specialRole: 2,
},
},
currentUser: {
@@ -9537,6 +9579,7 @@
create_subthreads: true,
},
isDefault: true,
+ specialRole: 1,
},
'256|85024': {
id: '256|85024',
@@ -9581,6 +9624,7 @@
leave_thread: true,
},
isDefault: false,
+ specialRole: 2,
},
'256|85027': {
id: '256|85027',
@@ -9599,6 +9643,7 @@
voiced: true,
},
isDefault: false,
+ specialRole: null,
},
},
currentUser: {
@@ -9919,6 +9964,7 @@
add_members: true,
},
isDefault: true,
+ specialRole: 1,
},
},
currentUser: {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 9:54 AM (16 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2699519
Default Alt Text
D10115.id34074.diff (8 KB)
Attached To
Mode
D10115: [native] Update update-roles-and-permissions-test-data.js to include specialRole field
Attached
Detach File
Event Timeline
Log In to Comment