diff --git a/src/commons/stores/user-store.js b/src/commons/stores/user-store.js index 824a45a4..634a5f45 100644 --- a/src/commons/stores/user-store.js +++ b/src/commons/stores/user-store.js @@ -42,7 +42,11 @@ } else if (data[i].status === "false") { user.status = "disabled"; } - user.role = data[i].role; + if (data[i].role === "limited") { + user.role = "read-only"; + } else { + user.role = data[i].role; + } user.notification = data[i].email_notifications; user.email = data[i].email; userList.push(user); diff --git a/src/modules/alerts/alerts.html b/src/modules/alerts/alerts.html index 5c2bc236..444ece0e 100644 --- a/src/modules/alerts/alerts.html +++ b/src/modules/alerts/alerts.html @@ -5,16 +5,17 @@