Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33042030
D13089.1768415200.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
863 B
Referenced Files
None
Subscribers
None
D13089.1768415200.diff
View Options
diff --git a/keyserver/src/updaters/role-updaters.js b/keyserver/src/updaters/role-updaters.js
--- a/keyserver/src/updaters/role-updaters.js
+++ b/keyserver/src/updaters/role-updaters.js
@@ -11,6 +11,7 @@
import {
type ThinThreadType,
threadTypeIsCommunityRoot,
+ threadTypes,
} from 'lib/types/thread-types-enum.js';
import type { ServerLegacyRoleInfo } from 'lib/types/thread-types.js';
import { userSurfacedPermissionsFromRolePermissions } from 'lib/utils/role-utils.js';
@@ -47,7 +48,10 @@
continue;
}
- if (!threadTypeIsCommunityRoot(threadType)) {
+ if (
+ !threadTypeIsCommunityRoot(threadType) ||
+ threadType === threadTypes.GENESIS
+ ) {
const newRolePermissions = defaultRolePermissions.Members;
if (!_isEqual(newRolePermissions)(currentRole.permissions)) {
rolesNeedingUpdate.push({
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 6:26 PM (3 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5929926
Default Alt Text
D13089.1768415200.diff (863 B)
Attached To
Mode
D13089: [keyserver] Always use default role permissions for GENESIS
Attached
Detach File
Event Timeline
Log In to Comment