mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-14 13:56:36 +00:00
Push back date
This commit is contained in:
@@ -200,7 +200,7 @@ async function createHttpResource(
|
|||||||
|
|
||||||
if (build == "saas" && !isSubscribed(orgId!, tierMatrix.domainNamespaces)) {
|
if (build == "saas" && !isSubscribed(orgId!, tierMatrix.domainNamespaces)) {
|
||||||
// grandfather in existing users
|
// grandfather in existing users
|
||||||
const lastAllowedDate = new Date("2026-04-12");
|
const lastAllowedDate = new Date("2026-04-13");
|
||||||
const userCreatedDate = new Date(req.user?.dateCreated || new Date());
|
const userCreatedDate = new Date(req.user?.dateCreated || new Date());
|
||||||
if (userCreatedDate > lastAllowedDate) {
|
if (userCreatedDate > lastAllowedDate) {
|
||||||
// check if this domain id is a namespace domain and if so, reject
|
// check if this domain id is a namespace domain and if so, reject
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ async function updateHttpResource(
|
|||||||
!isSubscribed(resource.orgId, tierMatrix.domainNamespaces)
|
!isSubscribed(resource.orgId, tierMatrix.domainNamespaces)
|
||||||
) {
|
) {
|
||||||
// grandfather in existing users
|
// grandfather in existing users
|
||||||
const lastAllowedDate = new Date("2026-04-12");
|
const lastAllowedDate = new Date("2026-04-13");
|
||||||
const userCreatedDate = new Date(
|
const userCreatedDate = new Date(
|
||||||
req.user?.dateCreated || new Date()
|
req.user?.dateCreated || new Date()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user