diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index 56ab2e0..6e437d0 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -85,7 +85,7 @@ export default {
},
activeUserMessage() {
if (this.user && this.user.active) {
- return "This account is active and can use the tool.";
+ return "This account has access to at least one feature.";
}
return "This account is inactive, please reach out to the Bellingcat team for access.";
}
diff --git a/src/components/PermissionNeeded.vue b/src/components/PermissionNeeded.vue
new file mode 100644
index 0000000..22801b2
--- /dev/null
+++ b/src/components/PermissionNeeded.vue
@@ -0,0 +1,26 @@
+
+
+ To use the {{ feature }} feature, you need permission from Bellingcat's tech
+ team.
+
+ You can ask for access via this form.
+
+
+ NB: We do not allow law enforcement, military or intelligence agencies to use this tool.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index 1e72896..a011a58 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,8 +1,8 @@
import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
-import ArchivesView from '../views/ArchivesView.vue';
+import ArchiveSearchView from '../views/ArchiveSearchView.vue';
-import ArchiveUrl from "../components/ArchiveUrl.vue";
+import ArchiveUrlView from "../views/ArchiveUrlView.vue";
const routes = [
{
@@ -13,12 +13,12 @@ const routes = [
{
path: '/url',
name: 'URL Archiving',
- component: ArchiveUrl,
+ component: ArchiveUrlView,
},
{
path: '/archives',
name: 'Archives search',
- component: ArchivesView,
+ component: ArchiveSearchView,
},
{
path: '/privacy',
diff --git a/src/store/index.js b/src/store/index.js
index 23d2c11..0dc46ec 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -60,11 +60,9 @@ export default createStore({
setUserPermissions(state, permissions) {
state.user.permissions = permissions;
state.user.groups = Object.keys(permissions).filter(key => key !== "all");
- saveToLocalStorage(state);
},
setUserUsage(state, usage) {
state.user.usage = usage;
- saveToLocalStorage(state);
},
setSheets(state, sheets) {
state.sheets = sheets;
diff --git a/src/views/ArchivesView.vue b/src/views/ArchiveSearchView.vue
similarity index 93%
rename from src/views/ArchivesView.vue
rename to src/views/ArchiveSearchView.vue
index 34723e1..ff93bf5 100644
--- a/src/views/ArchivesView.vue
+++ b/src/views/ArchiveSearchView.vue
@@ -1,5 +1,6 @@
-
+
+
@@ -100,9 +101,14 @@
diff --git a/src/views/SheetView.vue b/src/views/SheetView.vue
deleted file mode 100644
index e0c7fb5..0000000
--- a/src/views/SheetView.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-