|
|
|
<?php
|
|
|
|
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
define("MESSAGES", [
|
|
|
|
"invalid_parameters" => [
|
|
|
|
"string" => "invalid parameters",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"account_state_error" => [
|
|
|
|
"string" => "account state error",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"404_error" => [
|
|
|
|
"string" => "page not found",
|
|
|
|
"type" => "info"
|
|
|
|
],
|
|
|
|
"invalid_userid" => [
|
|
|
|
"string" => "invalid userid",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"user_saved" => [
|
|
|
|
"string" => "user saved",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"user_deleted" => [
|
|
|
|
"string" => "user deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"user_not_exists" => [
|
|
|
|
"string" => "user does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"log_cleared" => [
|
|
|
|
"string" => "log cleared",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"relationship_added" => [
|
|
|
|
"string" => "relationship added",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"relationship_deleted" => [
|
|
|
|
"string" => "relationship deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"permission_not_exists" => [
|
|
|
|
"string" => "permission does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"permissions_assigned" => [
|
|
|
|
"string" => "permissions assigned",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"permission_added" => [
|
|
|
|
"string" => "permission added",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"permission_deleted" => [
|
|
|
|
"string" => "permission deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"2fa_removed" => [
|
|
|
|
"string" => "2fa removed",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"manager_assigned" => [
|
|
|
|
"string" => "manager assigned",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"invalid_manager" => [
|
|
|
|
"string" => "manager does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"invalid_group" => [
|
|
|
|
"string" => "group does not exist",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"group_assigned" => [
|
|
|
|
"string" => "group members updated",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"group_added" => [
|
|
|
|
"string" => "group added",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"group_deleted" => [
|
|
|
|
"string" => "group deleted",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"group_exists" => [
|
|
|
|
"string" => "group already exists",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
]);
|