RBAC, Permissions, and Export/Import
This commit is contained in:
@@ -47,16 +47,16 @@ const Plans = () => {
|
||||
canView: true,
|
||||
canSubscribe: false
|
||||
},
|
||||
pending_approval: {
|
||||
pending_validation: {
|
||||
title: "Application Under Review",
|
||||
message: "Your application is being reviewed by our admin team. You'll receive an email once approved to proceed with payment.",
|
||||
message: "Your application is being reviewed by our admin team. You'll receive an email once validated to proceed with payment.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: false
|
||||
},
|
||||
pre_approved: {
|
||||
pre_validated: {
|
||||
title: "Application Under Review",
|
||||
message: "Your application is being reviewed by our admin team. You'll receive an email once approved to proceed with payment.",
|
||||
message: "Your application is being reviewed by our admin team. You'll receive an email once validated to proceed with payment.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: false
|
||||
@@ -77,10 +77,31 @@ const Plans = () => {
|
||||
},
|
||||
inactive: {
|
||||
title: "Membership Inactive",
|
||||
message: "Your membership has expired. Please select a plan below to renew your membership.",
|
||||
message: "Your membership is currently inactive. Please contact support for assistance.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: false
|
||||
},
|
||||
canceled: {
|
||||
title: "Membership Canceled",
|
||||
message: "Your membership was canceled. You can rejoin by selecting a plan below.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: true
|
||||
},
|
||||
expired: {
|
||||
title: "Membership Expired",
|
||||
message: "Your membership has expired. Please renew by selecting a plan below.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: true
|
||||
},
|
||||
abandoned: {
|
||||
title: "Application Incomplete",
|
||||
message: "Your application was not completed. Please contact support to restart the registration process.",
|
||||
action: null,
|
||||
canView: true,
|
||||
canSubscribe: false
|
||||
}
|
||||
};
|
||||
|
||||
@@ -315,7 +336,7 @@ const Plans = () => {
|
||||
Processing...
|
||||
</>
|
||||
) : statusInfo && !statusInfo.canSubscribe ? (
|
||||
'Approval Required'
|
||||
'Validation Required'
|
||||
) : (
|
||||
'Choose Amount & Subscribe'
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user