This commit is contained in:
@@ -24,6 +24,10 @@ todo: Administration - License
|
|||||||
todo: License testing (I know it's working when these things all pass)
|
todo: License testing (I know it's working when these things all pass)
|
||||||
|
|
||||||
ONBOARDING / BOOTSTRAPPING in ui called "Launch"
|
ONBOARDING / BOOTSTRAPPING in ui called "Launch"
|
||||||
|
|
||||||
|
REVOKED KEY ROUTE
|
||||||
|
We issued a license for this dbid but then revoked it for non-payment
|
||||||
|
Display a link to the contact form with message "There is a problem with your license, contact support with this dbid: "
|
||||||
|
|
||||||
NO LICENSE MODE
|
NO LICENSE MODE
|
||||||
Client should show the default manager account login info prefilled, no offer of sample trial accounts
|
Client should show the default manager account login info prefilled, no offer of sample trial accounts
|
||||||
@@ -46,8 +50,7 @@ todo: License testing (I know it's working when these things all pass)
|
|||||||
We can release it for refetch and then it's all automatic once daily check (maybe more frequent when unlicensed?) or they can force it
|
We can release it for refetch and then it's all automatic once daily check (maybe more frequent when unlicensed?) or they can force it
|
||||||
|
|
||||||
STATE: NO KEY AND EXISTING REVOKED KEY IN RF
|
STATE: NO KEY AND EXISTING REVOKED KEY IN RF
|
||||||
We issued a license for this dbid but then revoked it for non-payment
|
|
||||||
Display a link to the contact form with message "There is a problem with your license, contact support with this dbid: "
|
|
||||||
|
|
||||||
STATE: NO KEY AND DBID NOT IN ROCKFISH
|
STATE: NO KEY AND DBID NOT IN ROCKFISH
|
||||||
User gets a form for requesting a trial
|
User gets a form for requesting a trial
|
||||||
|
|||||||
@@ -21,6 +21,23 @@ function initNavPanel() {
|
|||||||
let t = window.$gz.translation.get;
|
let t = window.$gz.translation.get;
|
||||||
let role = window.$gz.role.AUTHORIZATION_ROLES;
|
let role = window.$gz.role.AUTHORIZATION_ROLES;
|
||||||
|
|
||||||
|
//******* REVOKE
|
||||||
|
//Status 5 = revoked, they need to know and have a path to unrevocation
|
||||||
|
//only allow license and logout
|
||||||
|
if (window.$gz.store.state.globalSettings.licenseStatus == 5) {
|
||||||
|
addNavItem(
|
||||||
|
t("HelpLicense"),
|
||||||
|
"fa-ticket-alt",
|
||||||
|
"/adm-license",
|
||||||
|
[],
|
||||||
|
key++,
|
||||||
|
"license"
|
||||||
|
);
|
||||||
|
addNavItem(t("Logout"), "fa-sign-out-alt", "/login", [], key++, "logout");
|
||||||
|
window.$gz.store.commit("setHomePage", "/adm-license");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//******* LAUNCH
|
//******* LAUNCH
|
||||||
//if it's an empty db then only the launch page is available
|
//if it's an empty db then only the launch page is available
|
||||||
if (window.$gz.store.state.globalSettings.licenseStatus == 0) {
|
if (window.$gz.store.state.globalSettings.licenseStatus == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user