Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3494836
D6492.id21767.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
D6492.id21767.diff
View Options
diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js
--- a/keyserver/src/responders/user-responders.js
+++ b/keyserver/src/responders/user-responders.js
@@ -230,7 +230,7 @@
if (
notAcknowledgedPolicies.length &&
- hasMinCodeVersion(viewer.platformDetails, 1000)
+ hasMinCodeVersion(viewer.platformDetails, 181)
) {
const currentUserInfo = await fetchLoggedInUserInfo(viewer);
return {
diff --git a/keyserver/src/scripts/force-policy-acknowledgment.js b/keyserver/src/scripts/force-policy-acknowledgment.js
--- a/keyserver/src/scripts/force-policy-acknowledgment.js
+++ b/keyserver/src/scripts/force-policy-acknowledgment.js
@@ -6,7 +6,7 @@
import { main } from './utils.js';
// time when policy was officially published for users
-const policyUpdateTime = new Date('2022-12-30T00:00:00').getTime();
+const policyUpdateTime = new Date('2023-02-03T00:00:00').getTime();
async function forcePolicyAcknowledgment() {
await dbQuery(SQL`
diff --git a/keyserver/src/utils/validation-utils.js b/keyserver/src/utils/validation-utils.js
--- a/keyserver/src/utils/validation-utils.js
+++ b/keyserver/src/utils/validation-utils.js
@@ -163,7 +163,7 @@
if (!policies.length) {
return;
}
- if (!hasMinCodeVersion(viewer.platformDetails, 1000)) {
+ if (!hasMinCodeVersion(viewer.platformDetails, 181)) {
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 6:52 AM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2680498
Default Alt Text
D6492.id21767.diff (1 KB)
Attached To
Mode
D6492: [keyserver] enable accepting policies feature
Attached
Detach File
Event Timeline
Log In to Comment