Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3522331
D10110.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10110.diff
View Options
diff --git a/keyserver/src/responders/responder-validators.test.js b/keyserver/src/responders/responder-validators.test.js
--- a/keyserver/src/responders/responder-validators.test.js
+++ b/keyserver/src/responders/responder-validators.test.js
@@ -1,5 +1,6 @@
// @flow
+import { specialRoles } from 'lib/permissions/special-roles.js';
import {
setThreadUnreadStatusResultValidator,
updateActivityResultValidator,
@@ -129,6 +130,7 @@
descendant_opentoplevel_join_thread: true,
},
isDefault: true,
+ specialRole: specialRoles.DEFAULT_ROLE,
},
},
currentUser: {
@@ -284,6 +286,7 @@
descendant_opentoplevel_join_thread: true,
},
isDefault: true,
+ specialRole: specialRoles.DEFAULT_ROLE,
},
'83796': {
id: '83796',
@@ -322,6 +325,7 @@
descendant_change_role: true,
},
isDefault: false,
+ specialRole: specialRoles.ADMIN_ROLE,
},
},
currentUser: {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 6:30 AM (18 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2698725
Default Alt Text
D10110.diff (1 KB)
Attached To
Mode
D10110: [keyserver] Update responder-validators.test.js to include specialRole field
Attached
Detach File
Event Timeline
Log In to Comment