Created
June 8, 2020 08:13
-
-
Save roniewill/4dc5db95dce1f6296bc1ca69ec23a8a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const permissionsWithoutDescription = [ | |
| { | |
| "id": 4957457360355328, | |
| "name": "ERP_DEVICES", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6646307220619264, | |
| "name": "ERP_CUSTOMERS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5731513546309632, | |
| "name": "ERP_CONTRACTS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5168563592888320, | |
| "name": "ERP_MARKETPLACE", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5450038569598976, | |
| "name": "ERP_SERVICE_ORDERS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5872251034664960, | |
| "name": "ERP_ADMIN", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4851904244088832, | |
| "name": "MONITORING_GROUPS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5414854197510144, | |
| "name": "MONITORING_DEVICES_SETTINGS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5274116709154816, | |
| "name": "MONITORING_DEVICES_COMMAND_RESTART", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6400016615997440, | |
| "name": "MONITORING_DEVICES_COMMAND_BLOCK", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6118541639286784, | |
| "name": "MONITORING_DEVICES_EVENTS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6751860336885760, | |
| "name": "ADMINISTRATOR_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5632557499809792, | |
| "name": "INSURANCE_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5491820011454464, | |
| "name": "NOTIFICATIONS_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6617719918297088, | |
| "name": "AREA_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5702926243987456, | |
| "name": "CONTACT_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5421451267276800, | |
| "name": "REPORT_NO_COMMUNICATION", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4717763825500160, | |
| "name": "OPERATOR_ZONE_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5843663732342784, | |
| "name": "TRACKING_APP", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5280713778921472, | |
| "name": "INSTALLER_APP", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6364832243908608, | |
| "name": "ERP_DASHBOARD", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6083357267197952, | |
| "name": "ERP_SIMCARDS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4746351127822336, | |
| "name": "ERP_INSURANCE", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5309301081243648, | |
| "name": "ERP_ADMIN_BRANDS", | |
| "parent": "ERP_ADMIN", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6540754104352768, | |
| "name": "MONITORING_DEVICES_HISTORY", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5837066662576128, | |
| "name": "MONITORING_DEVICES_COMMAND_POSITION_INQUIRY", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4640798011555840, | |
| "name": "DEVICE_CREATE", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4922272988266496, | |
| "name": "USER_CREATE_OPERATOR", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6611122848530432, | |
| "name": "DASHBORD_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5063010476621824, | |
| "name": "BUY_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6188910383464448, | |
| "name": "SELL_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6476982429941760, | |
| "name": "BRAND_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5210345034743808, | |
| "name": "CUSTOMER_ACCESS", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4928870058033152, | |
| "name": "DASHBOARD_DEVICE_EDIT", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4577026337144832, | |
| "name": "RECORD_EXPORT", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5139976290566144, | |
| "name": "REPORT_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5520407313776640, | |
| "name": "ERP_LEASES", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4605613639467008, | |
| "name": "ERP_VEHICLES", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6294463499730944, | |
| "name": "ERP_LOGISTICS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4887088616177664, | |
| "name": "ERP_ORDERS", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6575938476441600, | |
| "name": "ERP_FINANCIAL", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5027826104532992, | |
| "name": "ERP_ADMIN_OFFERS", | |
| "parent": "ERP_ADMIN", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6153726011375616, | |
| "name": "ERP_ADMIN_PRODUCTS", | |
| "parent": "ERP_ADMIN", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5590776057954304, | |
| "name": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6716675964796928, | |
| "name": "MONITORING_APP", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4570429267378176, | |
| "name": "MONITORING_INCIDENTS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4992641732444160, | |
| "name": "MONITORING_DEVICES_SHARE", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5555591685865472, | |
| "name": "MONITORING_DEVICES_SPEED_ALERT", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6681491592708096, | |
| "name": "INSTALLER_APP", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5766697918398464, | |
| "name": "BRAND_CREATE", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5203747964977152, | |
| "name": "USER_CREATE_ADMINISTRATOR", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6329647871819776, | |
| "name": "USER_CREATE_INSTALLER", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6048172895109120, | |
| "name": "USER_CREATE_BROKER", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4506657592967168, | |
| "name": "SALES_CONTROL_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5351082523099136, | |
| "name": "PERMISSION_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6054769964875776, | |
| "name": "WEB_SHARE", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6265876197408768, | |
| "name": "REPORT_KM", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4858501313855488, | |
| "name": "REPORT_INDICATORS", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6547351174119424, | |
| "name": "DASHBOARD_CHARTS_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5696329174220800, | |
| "name": "MONITORING_USERS_SEARCH", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5485222941687808, | |
| "name": "RECORD_TRACKING", | |
| "accessGroup": 6196405537603584, | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "DAYS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4781535499911168, | |
| "name": "DEVICE_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6470385360175104, | |
| "name": "PLAN_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5625960430043136, | |
| "name": "SERVICE_ORDER_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5069607546388480, | |
| "name": "OFFER_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6195507453231104, | |
| "name": "PRODUCT_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4788132569677824, | |
| "name": "SERVICE_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5914032476520448, | |
| "name": "SIM_CARD_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4647395081322496, | |
| "name": "SUPPLIER_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6336244941586432, | |
| "name": "ADMININISTRATOR_ACCESS", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5238932337065984, | |
| "name": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6012988523020288, | |
| "name": "ERP_SALES", | |
| "parent": "ERP_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6435200988086272, | |
| "name": "ERP_ADMIN_USERS", | |
| "parent": "ERP_ADMIN", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5133379220799488, | |
| "name": "MONITORING_AREAS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 6259279127642112, | |
| "name": "MONITORING_PARKING", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5977804150931456, | |
| "name": "MONITORING_NOTIFICATIONS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 4711166755733504, | |
| "name": "MONITORING_DEVICES_COMMANDS", | |
| "parent": "MONITORING_WEB", | |
| "accessGroup": 6196405537603584, | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5907435406753792, | |
| "name": "CLIENT_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5344485453332480, | |
| "name": "VEHICLE_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5773294988165120, | |
| "name": "USER_MENU", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "id": 5984401220698112, | |
| "name": "REPORT_DEVICES", | |
| "accessGroup": 6196405537603584, | |
| "type": "ACCESS", | |
| "version": 0 | |
| } | |
| ] | |
| const permissionsWithDescriptions = [ | |
| { | |
| "name": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Aplicativo ERP (Web)", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_DASHBOARD", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Tela de Gráficos (Dashboard)", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_DEVICES", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de rastreadores", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_SIMCARDS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de SIM-Cards e planos de dados", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_LEASES", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de contratos comodato", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_CUSTOMERS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de clientes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_VEHICLES", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de veículos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_CONTRACTS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de contratos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_MARKETPLACE", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de compra marketplace", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_LOGISTICS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de pedidos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ORDERS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de acompanhamento de pedidos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_SALES", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de vendas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_SERVICE_ORDERS", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de ordens de serviço", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_FINANCIAL", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração financeira", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_INSURANCE", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de cotações de seguro", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ADMIN", | |
| "parent": "ERP_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ADMIN_BRANDS", | |
| "parent": "ERP_ADMIN", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de marcas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ADMIN_USERS", | |
| "parent": "ERP_ADMIN", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de usuários", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ADMIN_OFFERS", | |
| "parent": "ERP_ADMIN", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de ofertas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ERP_ADMIN_PRODUCTS", | |
| "parent": "ERP_ADMIN", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de administração de produtos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Aplicativo de rastreamento (Web)", | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_APP", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Aplicativo de rastreamento (Mobile)", | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_INCIDENTS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Módulo de análise de incidentes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_USERS_SEARCH", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Busca de usuários", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_AREAS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Administração de áreas de segurança", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_PARKING", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Ligar estacionamento", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_GROUPS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Adminstração de grupos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_NOTIFICATIONS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Visualização de notificações de alarmes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_SETTINGS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Administração de dados dos rastreadores", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_HISTORY", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Histórico de posições do rastreador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_COMMANDS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Envio de comandos para o rastreador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_COMMAND_POSITION_INQUIRY", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Envio de comando de posição", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_COMMAND_RESTART", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Envio de comando de reiniciar", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_COMMAND_BLOCK", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Envio de comando de bloqueio/desbloqueio", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_SHARE", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Compartilhar a posição do veículo", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_EVENTS", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Visualização de eventos do rastreador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "MONITORING_DEVICES_SPEED_ALERT", | |
| "parent": "MONITORING_WEB", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Configuração de alerta de velocidade", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "INSTALLER_APP", | |
| "editable": true, | |
| "visible": true, | |
| "description": "Aplicativo do instalador (Mobile)", | |
| "type": "DENIED", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "DEVICE_CREATE", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de rastreadores", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "BRAND_CREATE", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de submarcas", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "USER_CREATE_ADMINISTRATOR", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de usuários administradores", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "USER_CREATE_INSTALLER", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de usuários instaladores", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "USER_CREATE_OPERATOR", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de usuários operadores", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "USER_CREATE_BROKER", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de usuários corretores", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "QUANTITY", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "RECORD_TRACKING", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Limite de consulta de histórico", | |
| "type": "UNLIMITED_QUOTA", | |
| "quotaLimitType": "DAYS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "DASHBORD_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu dashboard", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "DEVICE_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu rastreadores", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "CLIENT_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu clientes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "VEHICLE_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu veículos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "PLAN_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu contratos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "BUY_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu compras", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SELL_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu vendas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SERVICE_ORDER_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu ordens de serviço", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ADMINISTRATOR_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu administrador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SALES_CONTROL_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu financeiro", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "INSURANCE_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu seguros", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "OFFER_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu ofertas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "PRODUCT_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu produtos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SERVICE_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu serviços", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SIM_CARD_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu Sim Cards", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "PERMISSION_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu permissōes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "BRAND_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu marcas", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "SUPPLIER_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu fornecedores", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "USER_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu usuários", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "CUSTOMER_ACCESS", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Acesso de cliente", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "ADMININISTRATOR_ACCESS", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Acesso de administrador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "DASHBOARD_DEVICE_EDIT", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Editar rastreador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "WEB_SHARE", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Compartilhar a localização", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "NOTIFICATIONS_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu de notificaçōes", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "AREA_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu áreas de segurança", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "RECORD_EXPORT", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Exportar histórico", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "CONTACT_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu contatos", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "REPORT_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu de relatórios", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "REPORT_KM", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Relatório por KM", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "REPORT_INDICATORS", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Relatório Indicadores", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "REPORT_DEVICES", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Relatório Rastreador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "REPORT_NO_COMMUNICATION", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Relatório Sem Comunicação", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "DASHBOARD_CHARTS_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu de dashboard", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "OPERATOR_ZONE_MENU", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Menu da area do operador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "TRACKING_APP", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Aplicativo de rastreamento", | |
| "type": "ACCESS", | |
| "version": 0 | |
| }, | |
| { | |
| "name": "INSTALLER_APP", | |
| "editable": false, | |
| "visible": false, | |
| "description": "Aplicativo do instalador", | |
| "type": "ACCESS", | |
| "version": 0 | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment