Commit c98a845c authored by John Red Medrano's avatar John Red Medrano

Merge pull request #556 in RMS/api-main-service from SIT to staging

* commit 'e3a4cc8a':
  added media on gitignore to prevent uploading files on the branch
  removed unused files
  removed unused files
  removed media on gitignore to delete the files on git
  adding media on git ignore to prevent to upload the files on bitbucket
  added media
  fixed case sensitive on bulk users
  added the most updated clear database
  added sh script to build a SIT environment
parents 5a0f5df7 e3a4cc8a
......@@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
*$py.class
env.ini
media
# Distribution / packaging
.Python
......
set password "t!r\$0lut10ns"
cd /var/www/devrms.oneberrysystem.com/api-main-service
spawn git pull "http://administrator@42.61.118.105:7990/scm/rms/api-main-service.git" SIT
expect "Password for"
send "$password\n"
echo "================================================================";
echo "======================REMOVING API SERVICES=====================";
docker-compose -f api-main-service/docker-compose.yml down
echo "================================================================";
cd /var/www/devrms.oneberrysystem.com/
echo "================================================================";
echo "======================BUILDING API SERVICES=====================";
docker-compose -f api-main-service/docker-compose.yml up -d --build --remove-orphans
echo "================================================================";
......@@ -378,10 +378,10 @@ class BatchUploadViewSet(viewsets.ModelViewSet):
code=privilege_department_code
)
ccr = True if keys['Create_CR'] == 'Yes' else False
crt = True if keys['Create_Template'] == 'Yes' else False
view_all = True if keys['View_All_CR'] == 'Yes' else False
approve_cr = True if keys['Approve_CR'] == 'Yes' else False
ccr = True if keys['Create_CR'].lower() == 'yes' else False
crt = True if keys['Create_Template'].lower() == 'yes' else False
view_all = True if keys['View_All_CR'].lower() == 'yes' else False
approve_cr = True if keys['Approve_CR'].lower() == 'yes' else False
privilege_object = {
"id_number": current_user,
......
expect 01-bitbucket-pull-repository.sh
sh /var/www/devrms.oneberrysystem.com/03-full-api-redeploy.sh
-- -------------------------------------------------------------
-- TablePlus 2.8.2(256)
--
-- https://tableplus.com/
--
-- Database: OB_IMS
-- Generation Time: 2019-08-28 19:37:20.5910
-- -------------------------------------------------------------
DROP TABLE IF EXISTS [dbo].[Clients];
-- This script only contains the table creation statements and does not fully represent the table in the database. It's still missing: sequences, indices, triggers. Do not use it as a backup.
CREATE TABLE [dbo].[Clients] (
[id] int,
[name] varchar(128),
[contact] varchar(16),
[email] varchar(128),
[remarks] varchar(MAX),
PRIMARY KEY ([id])
);
INSERT INTO [dbo].[Clients] ([id], [name], [contact], [email], [remarks]) VALUES ('4', 'GuocoLand Property Management Pte Ltd', '87654321', 'TBA@email.com', NULL),
('5', 'Housing & Development Board Housing Management Group ( Car Parks)', '87654321', 'TBA@email.com', NULL),
('6', 'Prosec Services Pte Ltd', '87654321', 'TBA@email.com', NULL),
('7', 'Public Utilities Board (PUB)', '87654321', 'TBA@email.com', NULL),
('8', 'SimonVoss Security Technologies (Asia) Pte Ltd', '87654321', 'TBA@email.com', NULL),
('9', 'Sunlight Electrical Pte Ltd', '87654321', 'TBA@email.com', NULL),
('10', 'Shine Security Agency And Investigation Pte Ltd', '87654321', 'TBA@email.com', NULL),
('11', 'Prosegur Singapore Pte Ltd', '87654321', 'TBA@email.com', NULL),
('12', 'Agri-Food and Veterinary Authority', '87654321', 'TBA@email.com', NULL),
('13', 'National Environment Authority', '+65 6708 6077', 'chow_mun_wai@nea.gov.sg', 'CHOW Mun Wai'),
('14', 'Keppel Bay Pte. Ltd', '87654321', 'TBA@email.com', NULL),
('15', 'Jurong Town Corporation', '87654321', 'TBA@email.com', NULL),
('16', 'National Research Fund (PMO21)', '87654321', 'TBA@email.com', NULL),
('17', 'Full Pint Microbrewery Pte Ltd', '87654321', 'TBA@email.com', NULL),
('18', 'Cushman & Wakefield Facilities & Engineering (S) Ltd', '68630043', 'fredrick.ooi@cushwake.com', NULL),
('19', 'Excellent Security & Safety Pte Ltd', '87654321', 'TBA@email.com', NULL),
('20', 'Housing Development Board Properties & Land', '87654321', 'TBA@email.com', NULL),
('21', 'Jurong Port Pte Ltd', '87654321', 'TBA@email.com', NULL),
('22', 'Ministry of Health Corporation Services Division', '87654321', 'TBA@email.com', NULL),
('23', 'Prosec Security Services Pte Ltd', '87654321', 'TBA@email.com', NULL),
('24', 'Public Utilities Board Woodleigh Complex', '87654321', 'TBA@email.com', NULL),
('25', 'Public Utilities Board Catchment & Waterways', '87654321', 'TBA@email.com', NULL),
('26', 'Public Utilities Board Technology Department', '87654321', 'TBA@email.com', NULL),
('27', 'Ministry of Home Affairs (SPF)', '87654321', 'TBA@email.com', NULL),
('30', 'Innoverde', '66941814', 'info@innoverde.com.sg', NULL),
('31', 'PUB Water Wheel', 'POC 2016 - PUB00', 'Jimmy@oneberry.com', NULL),
('40', 'Land Transport Authority', '1234567', '123@info.com', NULL),
('41', 'Ministry of Home Affairs (ICA)', '67672193', 'toh_wen_jin@ica.gov.sg', NULL),
('42', 'Oneberry Technologies Pte Ltd', '66926760', 'info@oneberry.com', NULL),
('44', 'Swiss Club', '65132168', 'no@email.com', 'Sheryl Arun Murthy'),
('45', 'Mitsubishi Heavy Industries', '12345678', 'no@email.com', NULL),
('46', 'R&D', '65132168', 'TBA@email.com', 'Oneberry Technologies Pte Ltd'),
('47', 'SMRT', '98355365', 'colin.lam@smrt.com.sg', NULL),
('48', 'Woh Hup Pte Ltd', '12345', '123@456.com', 'Rennel''s sales'),
('49', 'Meritus Hotel & Resort', '62357788', 'sandesh.dessai@meritushotels.com', NULL),
('50', 'Trakomatic Pte Ltd', 'M. +65 9475 9883', 'petertan@trakomatic.com', NULL),
('51', 'SingTel', '97891462', 'muhdfihrin.binsueff@singtel.com', NULL),
('52', 'SMRT 2', '91826145', 'YangLin@smrt.com.sg', 'Contact Person: Yang Lin'),
('53', 'HDB', '+65 81384996', 'Mohammad_KZ_FACHRUZZAMAN@hdb.gov.sg', 'Mohammad KZ FACHRUZZAMAN'),
('54', 'CHC Construction Pte Ltd', '67520886', 'william.lin@chcgroup.com', NULL),
('55', 'Konica Minolta Business Solutions Asia Pte Ltd', '63612824', 'Cynthia.loke@konicaminolta.asia', 'POC : Sara'),
('56', 'Republic Polytechnic', '1234567', 'tba@oneberry.com', NULL),
('57', 'NTUC Trade Union House', '62138000', 'tba@email.com', NULL),
('58', 'MCST 2022 Nouvelle Park', ' 12345678', 'stevie@w-locate.com', NULL),
('59', 'MCST 3309 Murano Condo', '1234567', 'tba@email.com', NULL),
('60', 'MCST 3807 The Tier', '1234567', 'tba@email.com', NULL),
('61', 'Poh Keong Construction Pte Ltd', '98758669', 'pohkeong008@hotmail.com', 'Leave and maintenance of CCTV'),
('62', 'Greenova Landscape Pte Ltd', '1234567', 'TBC@email.com', NULL),
('63', 'Ascendas Services Pte Ltd', '65067416', 'siti.rahmat@ascendas-singbridge.com', 'Siti Nur Khairiyah Bte Rahmat
Asst. Manager
Contracts and Procurement
'),
('64', 'Singapore Post Limited', '62295613', ' TBC@hotmail.com', NULL),
('65', 'FUJI SMBE PTE LTD', '67580988', 'daniel.boo@fsmbe.fujielectric.com', NULL),
('66', 'MCST 4507 Corals at Keppel Bay', '62649710', 'mgtoff@corals.sg', 'The Management Corporation Strata Title Plan No. 4507'),
('67', 'Sam Lain Equipment Services Pte Ltd', 'Mr Myo Aung', 'myo_aung@samlain.com.sg', 'No. 2 Tuas South Street 12 S(636954)
'),
('68', 'Ministry of Manpower (MOM)', '12345678', 'tbc@oneberry.com', NULL),
('69', 'SamWoh Construction Pte Ltd', '62697288', 'scott.ho@samwoh.com.sg', 'PIC : Mr Scott Ho
'),
('70', 'National Gallery Singapore', '66979341', 'lyehock.lim@nationalgallery.sg', 'Lye Hock Lim'),
('71', 'SIA-Singsporeair', '66926760', 'taryar_win@singaporeair.com.sg', 'TR1348 Facial Recognition System'),
('72', 'Singpass', '66926760', 'JonathanSim@tech.gov.sg', 'Supply,design,Development, Installation, Testing,Commission'),
('73', 'Oneberry - Batam', '65132168', 'janet@oneberry.com', 'creation of Batam warehouse'),
('74', 'Bushy Sigsug Ltd', '9062 8717', 'cktan@bushysigsug.com', NULL),
('75', 'Dato Low Tuck Kwong', '97367803', 'angie@energyresource.sg', '14-16 Pierce Hill'),
('76', 'INTERPOL-2019', 'Interpol - 02/07', 'sara@oneberry.com', 'Interpol - 02/07/19-04/07/19'),
('77', 'Mainguard Security Services Pte Ltd', '92965881/2', 'operations@mainguard-int.com.sg', 'Lease and maintenance of mobile surveillance system'),
('78', 'MCST 4654 Coco Palm Condo', '65132168', 'cocopalms.cm@singnet.com.sg', 'High Rise Littering Surveillance'),
('79', 'Sheng Siong Group Ltd', '85886866', 'jack.woo@shengsiong.com.sg', 'POC for Surveillance Camera System'),
('80', 'APM Property Management Pte Ltd', '69092616', 'nurhidayahsupan@apmasia.com.sg', 'POC for SmarClean IoT Sensors for Suntec City'),
('81', 'AETOS Technologies & Solutions Pte Ltd', '97395790', 'chenghwa.chua@aetos.com.sg', 'Cyber Defence Platform'),
('82', 'Temasek Polytechnic', '92340760', 'zuchang@TP.Edu.sg', 'A long flight endurance drone with AI/Analytics enable detection capabilities'),
('83', 'Ocean Properties LLP', '63050885', 'sharine.ng@keppelland.com', 'Provision of Security and concierge service'),
('84', 'Immunis-New Products', '66940251', 'sara@oneberry.com', 'New Product'),
('85', 'OUE Commercial Property Management Pte Ltd', '65130066', 'praveena.mukunthan@ap.jll.com', 'OUR FR POC'),
('86', 'UOE Commercial Property Management Pte Ltd', '65130066', 'praveena.mukunthan@ap.jll.com', 'OUR FR POC'),
('87', 'Logicalis Singapore Pte Ltd', '97777881', 'cltoh@ap.logicalis.com', 'Immunis Next Generation Cyber Defence POC'),
('88', 'Usha Martin Singapore Pte Ltd', '62657756', 'oliver@umsingapore.com', 'Time attendance with Biometrics Access');
{
"info": {
"_postman_id": "14b5ad1f-8ea0-4e50-aa76-334708f325a5",
"name": "RMSv2 copy",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "RMS",
"item": [
{
"name": "Master",
"item": [
{
"name": "Company Listing",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}master/companies/",
"host": [
"{{url}}master"
],
"path": [
"companies",
""
]
}
},
"response": []
},
{
"name": "Department Listing",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}master/departments/?company=2",
"host": [
"{{url}}master"
],
"path": [
"departments",
""
],
"query": [
{
"key": "company",
"value": "2"
}
]
}
},
"response": []
},
{
"name": "User type listing",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}master/user-types/",
"host": [
"{{url}}master"
],
"path": [
"user-types",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Management",
"item": [
{
"name": "Application Management",
"item": [
{
"name": "List of Applications",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/applications/",
"host": [
"{{url}}management"
],
"path": [
"applications",
""
]
}
},
"response": []
},
{
"name": "View Application",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/applications/1/",
"host": [
"{{url}}management"
],
"path": [
"applications",
"1",
""
]
}
},
"response": []
},
{
"name": "Create Application",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"Asset Management System\"\n}"
},
"url": {
"raw": "{{url}}management/applications/",
"host": [
"{{url}}management"
],
"path": [
"applications",
""
]
}
},
"response": []
},
{
"name": "Edit Application",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"rms2\"\n}"
},
"url": {
"raw": "{{url}}management/applications/APP-20190917-0000001/",
"host": [
"{{url}}management"
],
"path": [
"applications",
"APP-20190917-0000001",
""
]
}
},
"response": []
},
{
"name": "Delete Application",
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"rms2\"\n}"
},
"url": {
"raw": "{{url}}management/applications/APP-20190917-0000004/",
"host": [
"{{url}}management"
],
"path": [
"applications",
"APP-20190917-0000004",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Companies Management",
"item": [
{
"name": "List of Companies",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/companies/",
"host": [
"{{url}}management"
],
"path": [
"companies",
""
]
}
},
"response": []
},
{
"name": "View Company",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/companies/COMPANY-20190909-0000001/",
"host": [
"{{url}}management"
],
"path": [
"companies",
"COMPANY-20190909-0000001",
""
]
}
},
"response": []
},
{
"name": "Create Company",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"Total Integrated Resources\",\n\t\"contact_details\": \"2152509\"\n}"
},
"url": {
"raw": "{{url}}management/companies/",
"host": [
"{{url}}management"
],
"path": [
"companies",
""
]
}
},
"response": []
},
{
"name": "Edit Company",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"TIR2\",\n\t\"contact_details\": \"2152509\"\n}"
},
"url": {
"raw": "{{url}}management/companies/4/",
"host": [
"{{url}}management"
],
"path": [
"companies",
"4",
""
]
}
},
"response": []
},
{
"name": "Delete Company",
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"name\": \"TIR2\",\n\t\"contact_details\": \"2152509\"\n}"
},
"url": {
"raw": "{{url}}management/companies/4/",
"host": [
"{{url}}management"
],
"path": [
"companies",
"4",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Department Management",
"item": [
{
"name": "List of Department",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/departments/",
"host": [
"{{url}}management"
],
"path": [
"departments",
""
]
}
},
"response": []
},
{
"name": "View Department",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/departments/DEPARTMENT-20190909-0000001/",
"host": [
"{{url}}management"
],
"path": [
"departments",
"DEPARTMENT-20190909-0000001",
""
]
}
},
"response": []
},
{
"name": "Create Department",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Business Development\",\n \"company\": \"COMPANY-20190909-0000001\"\n}"
},
"url": {
"raw": "{{url}}management/departments/",
"host": [
"{{url}}management"
],
"path": [
"departments",
""
]
}
},
"response": []
},
{
"name": "Edit Department",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Business Developments\",\n \"company\": \"COMPANY-20190909-0000001\"\n}"
},
"url": {
"raw": "{{url}}management/departments/DEPARTMENT-20190917-0000002/",
"host": [
"{{url}}management"
],
"path": [
"departments",
"DEPARTMENT-20190917-0000002",
""
]
}
},
"response": []
},
{
"name": "Delete Department",
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Business Developments\",\n \"company\": 2\n}"
},
"url": {
"raw": "{{url}}management/departments/2/",
"host": [
"{{url}}management"
],
"path": [
"departments",
"2",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Module Management",
"item": [
{
"name": "List of Module",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/modules/",
"host": [
"{{url}}management"
],
"path": [
"modules",
""
]
}
},
"response": []
},
{
"name": "View Module",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/modules/5/",
"host": [
"{{url}}management"
],
"path": [
"modules",
"5",
""
]
}
},
"response": []
},
{
"name": "Create Module",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"User Management\",\n \"parent\": 0,\n \"sort_id\": 1,\n \"application\": \"APP-20190917-0000001\"\n}"
},
"url": {
"raw": "{{url}}management/modules/",
"host": [
"{{url}}management"
],
"path": [
"modules",
""
]
}
},
"response": []
},
{
"name": "Edit Module",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Assets NVM\",\n \"parent\": 10,\n \"sort_id\": 1,\n \"application\": 2\n}"
},
"url": {
"raw": "{{url}}management/modules/12/",
"host": [
"{{url}}management"
],
"path": [
"modules",
"12",
""
]
}
},
"response": []
},
{
"name": "Edit Module Copy",
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"Assets NVM\",\n \"parent\": 10,\n \"sort_id\": 1,\n \"application\": 2\n}"
},
"url": {
"raw": "{{url}}management/modules/12/",
"host": [
"{{url}}management"
],
"path": [
"modules",
"12",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "User",
"item": [
{
"name": "List of Users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/users/",
"host": [
"{{url}}management"
],
"path": [
"users",
""
]
}
},
"response": []
},
{
"name": "View Users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}management/users/USER-20190917-0000001/",
"host": [
"{{url}}management"
],
"path": [
"users",
"USER-20190917-0000001",
""
]
}
},
"response": []
},
{
"name": "Create User",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"application\":[\"APP-20190917-0000001\",\"APP-20190917-0000003\"],\r\n\t\"department\": \"DEPARTMENT-20190917-0000002\",\r\n\t\"user_type\": \"OUA\",\r\n\t\"name\": \"Rita\",\r\n\t\"username\": \"obrita\",\r\n\t\"doa\":\"\",\r\n\t\"default_app\": \"APP-20190917-0000001\",\r\n\t\"contact_no\": \"1312313\",\r\n\t\"email\": \"test@gmail.com\"\r\n}\r\n"
},
"url": {
"raw": "{{url}}management/users/",
"host": [
"{{url}}management"
],
"path": [
"users",
""
]
}
},
"response": []
},
{
"name": "Edit User",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"application\":[\"APP-20190917-0000001\",\"APP-20190917-0000003\"],\r\n\t\"department\": \"DEPARTMENT-20190917-0000002\",\r\n\t\"user_type\": \"OUA\",\r\n\t\"name\": \"Ritas\",\r\n\t\"username\": \"obrita\",\r\n\t\"doa\":\"\",\r\n\t\"default_app\": \"APP-20190917-0000001\",\r\n\t\"contact_no\": \"1312313\",\r\n\t\"email\": \"test@gmail.com\"\r\n}\r\n"
},
"url": {
"raw": "{{url}}management/users/USER-20190917-0000026/",
"host": [
"{{url}}management"
],
"path": [
"users",
"USER-20190917-0000026",
""
]
}
},
"response": []
},
{
"name": "Change Password",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"application\":[1,3],\r\n\t\"department\": 1,\r\n\t\"user_type\": \"OUA\",\r\n\t\"name\": \"Ritas\",\r\n\t\"username\": \"OBRITA\",\r\n\t\"password\": \"password123\",\r\n\t\"doa\":\"\",\r\n\t\"default_app\": \"RMS\",\r\n\t\"contact_no\": \"1312313\",\r\n\t\"email\": \"test@gmail.com\"\r\n}\r\n"
},
"url": {
"raw": "{{url}}users/3/",
"host": [
"{{url}}users"
],
"path": [
"3",
""
]
}
},
"response": []
},
{
"name": "Delete User",
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{url}}users/3/",
"host": [
"{{url}}users"
],
"path": [
"3",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
}
],
"_postman_isSubFolder": true
},
{
"name": "Access Token",
"item": [
{
"name": "current-user",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}auth/current-user/",
"host": [
"{{url}}auth"
],
"path": [
"current-user",
""
]
}
},
"response": []
},
{
"name": "Login",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2OTM5MDI4LCJlbWFpbCI6IiJ9.eAA6vSTOhrto5yfy3IQsCdR7iaZxfApNcvdJsFdFmsc",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "username",
"value": "superuser",
"type": "text"
},
{
"key": "password",
"value": "password123",
"type": "text"
}
]
},
"url": {
"raw": "{{url}}auth/login/",
"host": [
"{{url}}auth"
],
"path": [
"login",
""
]
}
},
"response": []
},
{
"name": "Forgot Password",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"email\": \"johnredsmedrano@gmail.com\"\n}"
},
"url": {
"raw": "{{url}}auth/forgot-password/",
"host": [
"{{url}}auth"
],
"path": [
"forgot-password",
""
]
}
},
"response": []
},
{
"name": "Validate Token",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"token\": \"31290f51d6ea2d476b02942d1d53b7200ed13a89\"\n}"
},
"url": {
"raw": "{{url}}auth/reset-password-link/",
"host": [
"{{url}}auth"
],
"path": [
"reset-password-link",
""
]
}
},
"response": []
},
{
"name": "Forgot Password Reset",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"213\",\n \"password\": \"password123\",\n \"password_confirm\": \"password123\",\n \"passcode\": \"9676\",\n \"token\": \"c90b0833d83b97cdbfd181f8685e06c2ab646e35\"\n}"
},
"url": {
"raw": "{{url}}auth/forgot-password-reset/",
"host": [
"{{url}}auth"
],
"path": [
"forgot-password-reset",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
}
]
},
{
"name": "Change Request",
"item": [
{
"name": "CR Templates",
"item": [
{
"name": "CR Template Header",
"item": [
{
"name": "Template Header Post",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"requested_to_template_name\": \"Sample Template\",\r\n\t\"requested_to_template_id\": \"JTC2\",\r\n\t\"requested_to_objective\": \"Sample Objective\",\r\n\t\"requested_to_target_date\": \"10\",\r\n\t\"requested_to_priority\": \"High\",\r\n\t\"description\": \"sample description\",\r\n\t\"created_by_department\": \"admin\",\r\n\t\"created_by_user\": \"USER-20190913-0000006\",\r\n\t\"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n\t\"requested_to_user\": \"USER-20190913-0000007\",\r\n\t\r\n\t\r\n\t\"tmp_approvers\": [{\r\n\t\t\t\"level\": \"1\",\r\n\t\t\t\"delegation\": \"HOD\",\r\n\t\t\t\"user\": \"\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"2\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"3\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_stakes\": [{\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"delegation\": \"Stake Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_attachments\": [{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"tmp_details\": [{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\"\r\n\t\t}\r\n\t]\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-post/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-post",
""
]
}
},
"response": []
},
{
"name": "List of Templates",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
""
]
}
},
"response": []
},
{
"name": "View Template",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190913-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
"TMP-20190913-0000001",
""
]
}
},
"response": []
},
{
"name": "Edit Template",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"template_no\": \"TMP-20190911-0000001\",\r\n \"requested_to_template_name\": \"Sample Template\",\r\n \"requested_to_objective\": \"hello objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"High\",\r\n \"description\": \"sample description\",\r\n \"archived_at\": \"2019-09-11T18:59:09.296883\",\r\n \"requested_to_template_id\": \"temp\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190909-0000005\",\r\n \"created_by_user\": \"USER-20190909-0000005\",\r\n \"created_by_department\": \"admin\",\r\n \r\n \"tmp_approvers\": [\r\n {\r\n \"id\": 1,\r\n \"level\": \"1\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-11T18:59:09.509901\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPAPR-20190911-0000001\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"level\": \"2\",\r\n \"delegation\": \"Approver\",\r\n \"created\": \"2019-09-11T18:59:09.607909\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPAPR-20190911-0000002\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_stakes\": [\r\n {\r\n \"id\": 1,\r\n \"delegation\": \"Mandatory Approver\",\r\n \"created\": \"2019-09-11T18:59:09.618924\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPSTK-20190911-0000001\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"delegation\": \"Stake Approver\",\r\n \"created\": \"2019-09-11T18:59:09.619886\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPSTK-20190911-0000002\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_attachments\": [\r\n {\r\n \"id\": 1,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-11T18:59:09.631923\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPATCH-20190911-0000001\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"attachment_type\": \"Hello\",\r\n \"attachment_name\": \"heyu\",\r\n \"file_name\": \"Sample\",\r\n \"description\": \"Sameple Desc\",\r\n \"file_upload\": null,\r\n \"created\": \"2019-09-11T18:59:09.674881\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPATCH-20190911-0000002\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ],\r\n \"tmp_details\": [\r\n {\r\n \"id\": 1,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-11T18:59:09.684922\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPDETAIL-20190911-0000001\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"field_idx\": \"Hello\",\r\n \"field_ref\": \"heyu\",\r\n \"field_val\": \"Sample\",\r\n \"field_props\": \"Sameple Desc\",\r\n \"created\": \"2019-09-11T18:59:09.685887\",\r\n \"archived_at\": null,\r\n \"code\": \"TMPDETAIL-20190911-0000002\",\r\n \"template_no\": \"TMP-20190911-0000001\"\r\n }\r\n ]\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190911-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
"TMP-20190911-0000001",
""
]
}
},
"response": []
},
{
"name": "Archive Template",
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/archived/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
"archived",
""
]
}
},
"response": []
},
{
"name": "Retrieve Template",
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190909-0000002/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
"TMP-20190909-0000002",
""
]
}
},
"response": []
},
{
"name": "Delete Template",
"request": {
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template/TMP-20190909-0000002/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template",
"TMP-20190909-0000002",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Approver",
"item": [
{
"name": "List of Approvers",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-approvers",
""
]
}
},
"response": []
},
{
"name": "View Approver",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-approvers/TMPAPR-20190911-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-approvers",
"TMPAPR-20190911-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Stakeholder",
"item": [
{
"name": "List of Stakeholders",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-stakeholders",
""
]
}
},
"response": []
},
{
"name": "View Stakeholder",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-stakeholders/TMPSTK-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-stakeholders",
"TMPSTK-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Attachment",
"item": [
{
"name": "List of Attachments",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-attachments",
""
]
}
},
"response": []
},
{
"name": "View Attachment",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-attachments/TMPATCH-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-attachments",
"TMPATCH-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Template Detail",
"item": [
{
"name": "List of Details",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-details",
""
]
}
},
"response": []
},
{
"name": "View Detail",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/template-details/TMPDETAIL-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"template-details",
"TMPDETAIL-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "List of User ",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/user-list/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"user-list",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Forms",
"item": [
{
"name": "CR Form Header",
"item": [
{
"name": "Create Form Header",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"requested_to_template_name\": \"Sample Template\",\r\n\t\"requested_to_template_id\": \"JTC\",\r\n\t\"requested_to_objective\": \"Sample Objective\",\r\n\t\"requested_to_target_date\": \"2019-09-03 13:59:29.694560\",\r\n\t\"requested_to_priority\": \"High\",\r\n\t\"description\": \"sample description\",\r\n\t\"status\": \"Pending\",\r\n\t\"company_desc\": \"Oneberry\",\r\n\t\"department_desc\": \"Oneberry Superuser\",\r\n\t\"requested_desc\": \"Super User\",\r\n\t\"requested_by_department\": \"admin\",\r\n\t\"requested_by_user\": \"USER-20190913-0000006\",\r\n\t\"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n\t\"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n\t\"requested_to_user\": \"USER-20190913-0000007\",\r\n\t\"template_no\": \"TMP-20190916-0000002\",\r\n\t\r\n\t\"frm_approvers\": [{\r\n\t\t\t\"level\": \"1\",\r\n\t\t\t\"delegation\": \"HOD\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190916-0000004\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"2\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190913-0000002\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"level\": \"3\",\r\n\t\t\t\"delegation\": \"Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_approver\": \"TMPAPR-20190913-0000003\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_stakes\": [{\r\n\t\t\t\"date_added\": \"2019-09-03 13:59:29.694560\",\r\n\t\t\t\"delegation\": \"Mandatory Stakeholder\",\r\n\t\t\t\"user\": \"USER-20190913-0000009\",\r\n\t\t\t\"tmp_stake\": \"TMPSTK-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"date_added\": \"2019-09-03 13:59:29.694560\",\r\n\t\t\t\"delegation\": \"Stake Approver\",\r\n\t\t\t\"user\": \"USER-20190913-0000008\",\r\n\t\t\t\"tmp_stake\": \"TMPSTK-20190913-0000002\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_attachments\": [{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\",\r\n\t\t\t\"tmp_attach\": \"TMPATCH-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"attachment_type\": \"Hello\",\r\n\t\t\t\"attachment_name\": \"heyu\",\r\n\t\t\t\"file_name\": \"Sample\",\r\n\t\t\t\"description\": \"Sameple Desc\",\r\n\t\t\t\"uploaded_by\": \"USER-20190913-0000006\",\r\n\t\t\t\"tmp_attach\": \"TMPATCH-20190913-0000002\"\r\n\t\t}\r\n\t],\r\n\t\r\n\t\"frm_details\": [{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\",\r\n\t\t\t\"tmp_detail\": \"TMPDETAIL-20190913-0000001\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"field_idx\": \"Hello\",\r\n\t\t\t\"field_ref\": \"heyu\",\r\n\t\t\t\"field_val\": \"Sample\",\r\n\t\t\t\"field_props\": \"Sameple Desc\",\r\n\t\t\t\"tmp_detail\": \"TMPDETAIL-20190913-0000002\"\r\n\t\t}\r\n\t]\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-post/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-post",
""
]
}
},
"response": []
},
{
"name": "List of Forms",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
""
]
}
},
"response": []
},
{
"name": "View Form",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
""
]
}
},
"response": []
},
{
"name": "Edit Form",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"requested_to_template_name\": \"Sample Templates\",\r\n \"requested_to_template_id\": \"Samp\",\r\n \"requested_to_objective\": \"hello objective\",\r\n \"requested_to_target_date\": \"2019-09-03T13:59:29.694560\",\r\n \"requested_to_priority\": \"High\",\r\n \"description\": \"sample description\",\r\n \"form_code\": \"FRM-20190909-0000006\",\r\n \"cancel_date\": null,\r\n \"status\": \"Pending\",\r\n \"company_desc\": \"Oneberry\",\r\n \"department_desc\": \"Oneberry Superuser\",\r\n \"requested_desc\": \"Super User\",\r\n \"old_form_code\": \"\",\r\n \"requested_to_company\": \"COMPANY-20190909-0000002\",\r\n \"requested_to_department\": \"DEPARTMENT-20190909-0000002\",\r\n \"requested_to_user\": \"USER-20190909-0000005\",\r\n \"requested_by_user\": \"USER-20190909-0000005\",\r\n \"requested_by_department\": \"admin\",\r\n \"template_no\": \"TMP-20190909-0000001\",\r\n \"action\": \"No\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190909-0000006",
""
]
}
},
"response": []
},
{
"name": "Delete Form",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "951574546a6d45af34dfef101840bba27f1ab574",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190909-0000006/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190909-0000006",
""
]
}
},
"response": []
},
{
"name": "Re Route for Approval",
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000002/re_route/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190913-0000002",
"re_route",
""
]
}
},
"response": []
},
{
"name": "Resubmit",
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190913-0000001/re_submit/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190913-0000001",
"re_submit",
""
]
}
},
"response": []
},
{
"name": "CR Action",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"user\": \"\",\r\n \"form_code\": \"\",\r\n \"delegation\": \"\",\r\n \"action\": \"Approved\",\r\n \"level\": \"\",\r\n \"remarks\": \"Approver\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/actions/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"actions",
""
]
}
},
"response": []
},
{
"name": "Submit",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"created\": \"2019-09-10T17:21:10.794834\",\r\n \"remarks\": \"Approver\",\r\n \"action\": \"Approved\",\r\n \"date_sent\": \"2019-09-03T13:59:29.694560\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190910-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190910-0000001\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
"actions",
""
]
}
},
"response": []
},
{
"name": "Save",
"request": {
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 1,\r\n \"created\": \"2019-09-10T17:21:10.794834\",\r\n \"remarks\": \"Approver\",\r\n \"action\": \"Approved\",\r\n \"date_sent\": \"2019-09-03T13:59:29.694560\",\r\n \"user\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190910-0000001\",\r\n \"tmp_approver\": \"TMPAPR-20190910-0000001\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form/FRM-20190912-0000002/actions/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form",
"FRM-20190912-0000002",
"actions",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Form Approver",
"item": [
{
"name": "List of Approvers",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-approvers/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-approvers",
""
]
}
},
"response": []
},
{
"name": "View Approver",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-approvers/TMPAPR-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-approvers",
"TMPAPR-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Form Stakeholder",
"item": [
{
"name": "List of Stakeholders",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-stakeholders",
""
]
}
},
"response": []
},
{
"name": "View Stakeholder",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-stakeholders/TMPSTK-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-stakeholders",
"TMPSTK-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Form Attachment",
"item": [
{
"name": "List of Attachments",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-attachments",
""
]
}
},
"response": []
},
{
"name": "View Attachment",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"attachment_type\": \"Mandatory Attached\",\r\n \"attachment_name\": \"Mandatory Stakeholder\",\r\n \"file_name\": \"USER-20190909-0000005\",\r\n \"description\": \"Sample Desc 1\",\r\n \"file_upload\": null,\r\n \"code\": \"FRMATCH-20190909-0000001\",\r\n \"uploaded_by\": \"USER-20190909-0000005\",\r\n \"form_code\": \"FRM-20190909-0000005\",\r\n \"tmp_attach\": \"TMPATCH-20190909-0000001\"\r\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-attachments/FRMATCH-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-attachments",
"FRMATCH-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "CR Form Detail",
"item": [
{
"name": "List of Details",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-details",
""
]
}
},
"response": []
},
{
"name": "View Detail",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/form-details/FRMDETAIL-20190909-0000001/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"form-details",
"FRMDETAIL-20190909-0000001",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
}
],
"_postman_isSubFolder": true
},
{
"name": "Allowed Company",
"item": [
{
"name": "List of Allowed Company",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/allowed-companies/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"allowed-companies",
""
]
}
},
"response": []
},
{
"name": "Create Allowed Company",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"form\": [\n {\n \"create_change_request\": true,\n \"create_change_request_template\": true,\n \"view_all_change_request\": true,\n \"id_number\": \"USER-20190917-0000001\",\n \"company_pivot\": \"COMPANY-20190917-0000001\",\n \"group_pivots\": \"DEPARTMENT-20190917-0000001\"\n },\n {\n \"create_change_request\": true,\n \"create_change_request_template\": true,\n \"view_all_change_request\": true,\n \"id_number\": \"USER-20190917-0000001\",\n \"company_pivot\": \"COMPANY-20190917-0000002\",\n \"group_pivots\": \"DEPARTMENT-20190917-0000002\"\n }\n ]\n}"
},
"url": {
"raw": "http://localhost:8000/api/v1/change-request/allowed-companies/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"allowed-companies",
""
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Master",
"item": [
{
"name": "List of Company",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/companies/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"companies",
""
]
}
},
"response": []
},
{
"name": "List of Department",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8000/api/v1/change-request/departments/?company_code=COMPANY-20190917-0000001",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"change-request",
"departments",
""
],
"query": [
{
"key": "company_code",
"value": "COMPANY-20190917-0000001"
}
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
}
]
},
{
"name": "Notifications",
"item": [
{
"name": "List Notifications by account_no",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "951574546a6d45af34dfef101840bba27f1ab574",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://localhost:8000/api/v1/management/notifications/",
"protocol": "http",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"management",
"notifications",
""
]
}
},
"response": []
},
{
"name": "Create Notification",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "37d5c7c08f82cc0f8a3a73634d3b6a78ead3da37",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"form_header_code\": \"FRM-20190902-000001\",\n \"notif_type\": \"ACTIVITY\",\n \"message\": \"Oneberry CCTV Replacement Request due in 5 days\",\n \"is_read\": false,\n \"app\": \"APP-20190903-0000002\",\n \"account_no\": \"USER-20190904-0000002\",\n \"sender_account_no\": \"USER-20190904-0000002\"\n}"
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com:7020/api/v1/notifications/",
"protocol": "http",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
],
"port": "7020",
"path": [
"api",
"v1",
"notifications",
""
]
}
},
"response": []
},
{
"name": "Update Read Status by ids",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "password123",
"type": "string"
},
{
"key": "username",
"value": "admin",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"ids\": [8]\n}"
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com/api/v1/notifications/USER-20190903-0000002/seen/",
"protocol": "http",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
],
"path": [
"api",
"v1",
"notifications",
"USER-20190903-0000002",
"seen",
""
]
}
},
"response": []
},
{
"name": "Update Read Status by account_no",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "password123",
"type": "string"
},
{
"key": "username",
"value": "admin",
"type": "string"
}
]
},
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "http://devapi.rmsv2.oneberrysystem.com/api/v1/notifications/USER-20190903-0000002/seenall/",
"protocol": "http",
"host": [
"devapi",
"rmsv2",
"oneberrysystem",
"com"
],
"path": [
"api",
"v1",
"notifications",
"USER-20190903-0000002",
"seenall",
""
]
}
},
"response": []
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "5b66363cf7de734990c91073809ea1b79904ae52",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"id": "ab5de420-cb55-4194-97ae-c22e953c38ce",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "6de844e2-8111-4f18-ac32-517a9571afb2",
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
\ No newline at end of file
pscp -i C:\Users\USER1\Desktop\my-key.ppk C:\Users\USER1\Documents\test.txt centos@13.251.192.208:/home/centos/test/test.txt ---->copy a file
pscp -r -i C:\Users\USER1\Desktop\my-key.ppk C:\Users\USER1\Documents\test_folder centos@13.251.192.208:/home/centos/test ---->copy a directory
0N3Berry2018
\ No newline at end of file
pscp -i C:\Users\USER1\Desktop\my-key.ppk C:\Users\USER1\Documents\test.txt centos@13.251.192.208:/home/centos/test/test.txt ---->copy a file
pscp -r -i C:\Users\USER1\Desktop\my-key.ppk C:\Users\USER1\Documents\test_folder centos@13.251.192.208:/home/centos/test ---->copy a directory
0N3Berry2018
\ No newline at end of file
<html>
<head>
</head>
<body>
<h1>This file has been downloaded by the browser!</h1>
<p>Facts About the Sun:</p>
<p>The sun is a star.</p>
<p>The temperature at the sun's core is 15 million degrees Celsius.</p>
<p>There would be no life on Earth without the sun's energy.</p>
</body>
</html>
/*
I decided on the Brush Script MT cursive font for now. Works better for me than FlottFlott.
*/
.mtki,
.mtk4,
.mtk5,
.mtk8,
.mtk11
{
vertical-align: baseline;
font-family: "Operator Mono Light";
height: inherit;
font-size: 1.1em;
line-height: 1rem;
text-rendering: optimizeLegibility;
}
/*
.monaco-scrollable-element {
background-color: #EEE;
}
.content {
background-color: #ccc;
} */
/*
For the tab titles.
*/
/* .monaco-icon-label-description-container .label-name {
font-family: "Operator Mono Light";
font-size: 1.3em;
} */
.tabs-container .monaco-icon-label-description-container .label-name,
.sidebar .monaco-icon-label-description-container .label-name,
.quick-open-row .monaco-icon-label-description-container .label-name {
font-family: -apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif;
font-size: 1em;
}
\ No newline at end of file
/*
I decided on the Brush Script MT cursive font for now. Works better for me than FlottFlott.
*/
.mtki,
.mtk4,
.mtk5,
.mtk8,
.mtk11
{
vertical-align: baseline;
font-family: "Operator Mono Light";
height: inherit;
font-size: 1.1em;
line-height: 1rem;
text-rendering: optimizeLegibility;
}
/*
.monaco-scrollable-element {
background-color: #EEE;
}
.content {
background-color: #ccc;
} */
/*
For the tab titles.
*/
/* .monaco-icon-label-description-container .label-name {
font-family: "Operator Mono Light";
font-size: 1.3em;
} */
.tabs-container .monaco-icon-label-description-container .label-name,
.sidebar .monaco-icon-label-description-container .label-name,
.quick-open-row .monaco-icon-label-description-container .label-name {
font-family: -apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif;
font-size: 1em;
}
\ No newline at end of file
/*
I decided on the Brush Script MT cursive font for now. Works better for me than FlottFlott.
*/
.mtki,
.mtk4,
.mtk5,
.mtk8,
.mtk11
{
vertical-align: baseline;
font-family: "Operator Mono Light";
height: inherit;
font-size: 1.1em;
line-height: 1rem;
text-rendering: optimizeLegibility;
}
/*
.monaco-scrollable-element {
background-color: #EEE;
}
.content {
background-color: #ccc;
} */
/*
For the tab titles.
*/
/* .monaco-icon-label-description-container .label-name {
font-family: "Operator Mono Light";
font-size: 1.3em;
} */
.tabs-container .monaco-icon-label-description-container .label-name,
.sidebar .monaco-icon-label-description-container .label-name,
.quick-open-row .monaco-icon-label-description-container .label-name {
font-family: -apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif;
font-size: 1em;
}
\ No newline at end of file
Lorem,ipsum,dolor,sit,amet,consectetur,adipisicing,elit.,Tenetur,dolore,repellat,nemo,doloremque,suscipit,libero,iusto!,Nobis,numquam,voluptates,amet,tenetur,deleniti,suscipit,ducimus,mollitia,optio,libero,delectus,quisquam,laudantium!
\ No newline at end of file
Username,Name,Company,Department,Department_Code,Email,Contact_No,Application,Default_app,Privilege_Company,Privilege_Department,Privilege_Department_Code,Create_CR,Create_Template,View_All_CR,Approve_CR
ob-john,John Doe,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191025-0000051,johndoe@gmail.com,123456,"cms,ams",cms,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191025-0000051,Yes,No,Yes,Yes
,,,,,,,,,Please use this department code as reference,,,,,,
,,,,,,,,,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191025-0000051,,,,
,,,,,,,,,Jurong Town Corporationf,Product & Marketings,DEPARTMENT-20191025-0000052,,,,
,,,,,,,,,Jurong Town Corporationf,Security,DEPARTMENT-20191025-0000050,,,,
Username,Name,Company,Department,Department_Code,Email,Contact_No,Application,Default_app,Privilege_Company,Privilege_Department,Privilege_Department_Code,Create_CR,Create_Template,View_All_CR,Approve_CR
ob-john,John Doe,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191121-0000064,johndoe@gmail.com,123456,"cms,ams",cms,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191121-0000064,Yes,No,Yes,Yes
,,,,,,,,,Please use this department code as reference,,,,,,
,,,,,,,,,Oneberry Technologies Pte Ltd,Business Development,DEPARTMENT-20191121-0000064,,,,
,,,,,,,,,Jurong Town Corporation,Security Division,DEPARTMENT-20191121-0000061,,,,
,,,,,,,,,Jurong Town Corporation,Facilities Management,DEPARTMENT-20191121-0000062,,,,
,,,,,,,,,Jurong Town Corporation,Warehouse Department,DEPARTMENT-20191121-0000065,,,,
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.3.12-MariaDB - mariadb.org binary distribution
-- Server OS: Win64
-- HeidiSQL Version: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Dumping database structure for rms_db
CREATE DATABASE IF NOT EXISTS `rms_db` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `rms_db`;
-- Dumping data for table rms_db.allowed_company: ~0 rows (approximately)
DELETE FROM `allowed_company`;
/*!40000 ALTER TABLE `allowed_company` DISABLE KEYS */;
/*!40000 ALTER TABLE `allowed_company` ENABLE KEYS */;
-- Dumping data for table rms_db.applications: ~3 rows (approximately)
DELETE FROM `applications`;
/*!40000 ALTER TABLE `applications` DISABLE KEYS */;
INSERT INTO `applications` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `excel_code`) VALUES
(1, '2019-09-23 12:43:33.754098', 'superuser', '2019-09-23 12:43:33.754098', 'superuser', 'APP-20190923-0000001', 'Resource Management System', 'rms'),
(2, '2019-09-23 12:43:40.512905', 'superuser', '2019-09-23 12:43:40.512905', 'superuser', 'APP-20190923-0000002', 'Change Request Management System', 'cms'),
(3, '2019-09-23 12:43:55.957076', 'superuser', '2019-09-23 12:43:55.957076', 'superuser', 'APP-20190923-0000003', 'Asset Management System', 'ams');
/*!40000 ALTER TABLE `applications` ENABLE KEYS */;
-- Dumping data for table rms_db.asset_groups: ~0 rows (approximately)
DELETE FROM `asset_groups`;
/*!40000 ALTER TABLE `asset_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_groups` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_permission: ~388 rows (approximately)
DELETE FROM `auth_permission`;
/*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
INSERT INTO `auth_permission` (`id`, `name`, `content_type_id`, `codename`) VALUES
(1, 'Can add log entry', 1, 'add_logentry'),
(2, 'Can change log entry', 1, 'change_logentry'),
(3, 'Can delete log entry', 1, 'delete_logentry'),
(4, 'Can view log entry', 1, 'view_logentry'),
(5, 'Can add permission', 2, 'add_permission'),
(6, 'Can change permission', 2, 'change_permission'),
(7, 'Can delete permission', 2, 'delete_permission'),
(8, 'Can view permission', 2, 'view_permission'),
(9, 'Can add group', 3, 'add_group'),
(10, 'Can change group', 3, 'change_group'),
(11, 'Can delete group', 3, 'delete_group'),
(12, 'Can view group', 3, 'view_group'),
(13, 'Can add content type', 4, 'add_contenttype'),
(14, 'Can change content type', 4, 'change_contenttype'),
(15, 'Can delete content type', 4, 'delete_contenttype'),
(16, 'Can view content type', 4, 'view_contenttype'),
(17, 'Can add session', 5, 'add_session'),
(18, 'Can change session', 5, 'change_session'),
(19, 'Can delete session', 5, 'delete_session'),
(20, 'Can view session', 5, 'view_session'),
(21, 'Can add Token', 6, 'add_token'),
(22, 'Can change Token', 6, 'change_token'),
(23, 'Can delete Token', 6, 'delete_token'),
(24, 'Can view Token', 6, 'view_token'),
(25, 'Can add user', 7, 'add_user'),
(26, 'Can change user', 7, 'change_user'),
(27, 'Can delete user', 7, 'delete_user'),
(28, 'Can view user', 7, 'view_user'),
(29, 'Can add application', 8, 'add_application'),
(30, 'Can change application', 8, 'change_application'),
(31, 'Can delete application', 8, 'delete_application'),
(32, 'Can view application', 8, 'view_application'),
(33, 'Can add attachment', 9, 'add_attachment'),
(34, 'Can change attachment', 9, 'change_attachment'),
(35, 'Can delete attachment', 9, 'delete_attachment'),
(36, 'Can view attachment', 9, 'view_attachment'),
(37, 'Can add change request form header', 10, 'add_changerequestformheader'),
(38, 'Can change change request form header', 10, 'change_changerequestformheader'),
(39, 'Can delete change request form header', 10, 'delete_changerequestformheader'),
(40, 'Can view change request form header', 10, 'view_changerequestformheader'),
(41, 'Can add change request history', 11, 'add_changerequesthistory'),
(42, 'Can change change request history', 11, 'change_changerequesthistory'),
(43, 'Can delete change request history', 11, 'delete_changerequesthistory'),
(44, 'Can view change request history', 11, 'view_changerequesthistory'),
(45, 'Can add change request template header', 12, 'add_changerequesttemplateheader'),
(46, 'Can change change request template header', 12, 'change_changerequesttemplateheader'),
(47, 'Can delete change request template header', 12, 'delete_changerequesttemplateheader'),
(48, 'Can view change request template header', 12, 'view_changerequesttemplateheader'),
(49, 'Can add company', 13, 'add_company'),
(50, 'Can change company', 13, 'change_company'),
(51, 'Can delete company', 13, 'delete_company'),
(52, 'Can view company', 13, 'view_company'),
(53, 'Can add email logs', 14, 'add_emaillogs'),
(54, 'Can change email logs', 14, 'change_emaillogs'),
(55, 'Can delete email logs', 14, 'delete_emaillogs'),
(56, 'Can view email logs', 14, 'view_emaillogs'),
(57, 'Can add entity log', 15, 'add_entitylog'),
(58, 'Can change entity log', 15, 'change_entitylog'),
(59, 'Can delete entity log', 15, 'delete_entitylog'),
(60, 'Can view entity log', 15, 'view_entitylog'),
(61, 'Can add password reset', 16, 'add_passwordreset'),
(62, 'Can change password reset', 16, 'change_passwordreset'),
(63, 'Can delete password reset', 16, 'delete_passwordreset'),
(64, 'Can view password reset', 16, 'view_passwordreset'),
(65, 'Can add permission', 17, 'add_permission'),
(66, 'Can change permission', 17, 'change_permission'),
(67, 'Can delete permission', 17, 'delete_permission'),
(68, 'Can view permission', 17, 'view_permission'),
(69, 'Can add role', 18, 'add_role'),
(70, 'Can change role', 18, 'change_role'),
(71, 'Can delete role', 18, 'delete_role'),
(72, 'Can view role', 18, 'view_role'),
(73, 'Can add status', 19, 'add_status'),
(74, 'Can change status', 19, 'change_status'),
(75, 'Can delete status', 19, 'delete_status'),
(76, 'Can view status', 19, 'view_status'),
(77, 'Can add user image', 20, 'add_userimage'),
(78, 'Can change user image', 20, 'change_userimage'),
(79, 'Can delete user image', 20, 'delete_userimage'),
(80, 'Can view user image', 20, 'view_userimage'),
(81, 'Can add role permission', 21, 'add_rolepermission'),
(82, 'Can change role permission', 21, 'change_rolepermission'),
(83, 'Can delete role permission', 21, 'delete_rolepermission'),
(84, 'Can view role permission', 21, 'view_rolepermission'),
(85, 'Can add notification', 22, 'add_notification'),
(86, 'Can change notification', 22, 'change_notification'),
(87, 'Can delete notification', 22, 'delete_notification'),
(88, 'Can view notification', 22, 'view_notification'),
(89, 'Can add module', 23, 'add_module'),
(90, 'Can change module', 23, 'change_module'),
(91, 'Can delete module', 23, 'delete_module'),
(92, 'Can view module', 23, 'view_module'),
(93, 'Can add department', 24, 'add_department'),
(94, 'Can change department', 24, 'change_department'),
(95, 'Can delete department', 24, 'delete_department'),
(96, 'Can view department', 24, 'view_department'),
(97, 'Can add change request template stake holders', 25, 'add_changerequesttemplatestakeholders'),
(98, 'Can change change request template stake holders', 25, 'change_changerequesttemplatestakeholders'),
(99, 'Can delete change request template stake holders', 25, 'delete_changerequesttemplatestakeholders'),
(100, 'Can view change request template stake holders', 25, 'view_changerequesttemplatestakeholders'),
(101, 'Can add change request template details', 26, 'add_changerequesttemplatedetails'),
(102, 'Can change change request template details', 26, 'change_changerequesttemplatedetails'),
(103, 'Can delete change request template details', 26, 'delete_changerequesttemplatedetails'),
(104, 'Can view change request template details', 26, 'view_changerequesttemplatedetails'),
(105, 'Can add change request template attachments', 27, 'add_changerequesttemplateattachments'),
(106, 'Can change change request template attachments', 27, 'change_changerequesttemplateattachments'),
(107, 'Can delete change request template attachments', 27, 'delete_changerequesttemplateattachments'),
(108, 'Can view change request template attachments', 27, 'view_changerequesttemplateattachments'),
(109, 'Can add change request template approvers', 28, 'add_changerequesttemplateapprovers'),
(110, 'Can change change request template approvers', 28, 'change_changerequesttemplateapprovers'),
(111, 'Can delete change request template approvers', 28, 'delete_changerequesttemplateapprovers'),
(112, 'Can view change request template approvers', 28, 'view_changerequesttemplateapprovers'),
(113, 'Can add change request form stake holders', 29, 'add_changerequestformstakeholders'),
(114, 'Can change change request form stake holders', 29, 'change_changerequestformstakeholders'),
(115, 'Can delete change request form stake holders', 29, 'delete_changerequestformstakeholders'),
(116, 'Can view change request form stake holders', 29, 'view_changerequestformstakeholders'),
(117, 'Can add change request form details', 30, 'add_changerequestformdetails'),
(118, 'Can change change request form details', 30, 'change_changerequestformdetails'),
(119, 'Can delete change request form details', 30, 'delete_changerequestformdetails'),
(120, 'Can view change request form details', 30, 'view_changerequestformdetails'),
(121, 'Can add change request form attachments', 31, 'add_changerequestformattachments'),
(122, 'Can change change request form attachments', 31, 'change_changerequestformattachments'),
(123, 'Can delete change request form attachments', 31, 'delete_changerequestformattachments'),
(124, 'Can view change request form attachments', 31, 'view_changerequestformattachments'),
(125, 'Can add change request form approvers', 32, 'add_changerequestformapprovers'),
(126, 'Can change change request form approvers', 32, 'change_changerequestformapprovers'),
(127, 'Can delete change request form approvers', 32, 'delete_changerequestformapprovers'),
(128, 'Can view change request form approvers', 32, 'view_changerequestformapprovers'),
(129, 'Can add auth token', 33, 'add_authtoken'),
(130, 'Can change auth token', 33, 'change_authtoken'),
(131, 'Can delete auth token', 33, 'delete_authtoken'),
(132, 'Can view auth token', 33, 'view_authtoken'),
(133, 'Can add allowed company', 34, 'add_allowedcompany'),
(134, 'Can change allowed company', 34, 'change_allowedcompany'),
(135, 'Can delete allowed company', 34, 'delete_allowedcompany'),
(136, 'Can view allowed company', 34, 'view_allowedcompany'),
(141, 'Can add master attachment', 16, 'add_masterattachment'),
(142, 'Can change master attachment', 16, 'change_masterattachment'),
(143, 'Can delete master attachment', 16, 'delete_masterattachment'),
(144, 'Can view master attachment', 16, 'view_masterattachment'),
(145, 'Can add notification', 17, 'add_notification'),
(146, 'Can change notification', 17, 'change_notification'),
(147, 'Can delete notification', 17, 'delete_notification'),
(148, 'Can view notification', 17, 'view_notification'),
(149, 'Can add password reset', 18, 'add_passwordreset'),
(150, 'Can change password reset', 18, 'change_passwordreset'),
(151, 'Can delete password reset', 18, 'delete_passwordreset'),
(152, 'Can view password reset', 18, 'view_passwordreset'),
(153, 'Can add permission', 19, 'add_permission'),
(154, 'Can change permission', 19, 'change_permission'),
(155, 'Can delete permission', 19, 'delete_permission'),
(156, 'Can view permission', 19, 'view_permission'),
(157, 'Can add role', 20, 'add_role'),
(158, 'Can change role', 20, 'change_role'),
(159, 'Can delete role', 20, 'delete_role'),
(160, 'Can view role', 20, 'view_role'),
(161, 'Can add status', 21, 'add_status'),
(162, 'Can change status', 21, 'change_status'),
(163, 'Can delete status', 21, 'delete_status'),
(164, 'Can view status', 21, 'view_status'),
(165, 'Can add user image', 22, 'add_userimage'),
(166, 'Can change user image', 22, 'change_userimage'),
(167, 'Can delete user image', 22, 'delete_userimage'),
(168, 'Can view user image', 22, 'view_userimage'),
(169, 'Can add role permission', 23, 'add_rolepermission'),
(170, 'Can change role permission', 23, 'change_rolepermission'),
(171, 'Can delete role permission', 23, 'delete_rolepermission'),
(172, 'Can view role permission', 23, 'view_rolepermission'),
(173, 'Can add module', 24, 'add_module'),
(174, 'Can change module', 24, 'change_module'),
(175, 'Can delete module', 24, 'delete_module'),
(176, 'Can view module', 24, 'view_module'),
(177, 'Can add department', 25, 'add_department'),
(178, 'Can change department', 25, 'change_department'),
(179, 'Can delete department', 25, 'delete_department'),
(180, 'Can view department', 25, 'view_department'),
(181, 'Can add change request template stake holders', 26, 'add_changerequesttemplatestakeholders'),
(182, 'Can change change request template stake holders', 26, 'change_changerequesttemplatestakeholders'),
(183, 'Can delete change request template stake holders', 26, 'delete_changerequesttemplatestakeholders'),
(184, 'Can view change request template stake holders', 26, 'view_changerequesttemplatestakeholders'),
(185, 'Can add change request template details', 27, 'add_changerequesttemplatedetails'),
(186, 'Can change change request template details', 27, 'change_changerequesttemplatedetails'),
(187, 'Can delete change request template details', 27, 'delete_changerequesttemplatedetails'),
(188, 'Can view change request template details', 27, 'view_changerequesttemplatedetails'),
(189, 'Can add change request template attachments', 28, 'add_changerequesttemplateattachments'),
(190, 'Can change change request template attachments', 28, 'change_changerequesttemplateattachments'),
(191, 'Can delete change request template attachments', 28, 'delete_changerequesttemplateattachments'),
(192, 'Can view change request template attachments', 28, 'view_changerequesttemplateattachments'),
(193, 'Can add change request template approvers', 29, 'add_changerequesttemplateapprovers'),
(194, 'Can change change request template approvers', 29, 'change_changerequesttemplateapprovers'),
(195, 'Can delete change request template approvers', 29, 'delete_changerequesttemplateapprovers'),
(196, 'Can view change request template approvers', 29, 'view_changerequesttemplateapprovers'),
(197, 'Can add change request form stake holders', 30, 'add_changerequestformstakeholders'),
(198, 'Can change change request form stake holders', 30, 'change_changerequestformstakeholders'),
(199, 'Can delete change request form stake holders', 30, 'delete_changerequestformstakeholders'),
(200, 'Can view change request form stake holders', 30, 'view_changerequestformstakeholders'),
(201, 'Can add change request form details', 31, 'add_changerequestformdetails'),
(202, 'Can change change request form details', 31, 'change_changerequestformdetails'),
(203, 'Can delete change request form details', 31, 'delete_changerequestformdetails'),
(204, 'Can view change request form details', 31, 'view_changerequestformdetails'),
(205, 'Can add change request form attachments', 32, 'add_changerequestformattachments'),
(206, 'Can change change request form attachments', 32, 'change_changerequestformattachments'),
(207, 'Can delete change request form attachments', 32, 'delete_changerequestformattachments'),
(208, 'Can view change request form attachments', 32, 'view_changerequestformattachments'),
(209, 'Can add change request form approvers', 33, 'add_changerequestformapprovers'),
(210, 'Can change change request form approvers', 33, 'change_changerequestformapprovers'),
(211, 'Can delete change request form approvers', 33, 'delete_changerequestformapprovers'),
(212, 'Can view change request form approvers', 33, 'view_changerequestformapprovers'),
(213, 'Can add auth token', 34, 'add_authtoken'),
(214, 'Can change auth token', 34, 'change_authtoken'),
(215, 'Can delete auth token', 34, 'delete_authtoken'),
(216, 'Can view auth token', 34, 'view_authtoken'),
(217, 'Can add allowed company', 35, 'add_allowedcompany'),
(218, 'Can change allowed company', 35, 'change_allowedcompany'),
(219, 'Can delete allowed company', 35, 'delete_allowedcompany'),
(220, 'Can view allowed company', 35, 'view_allowedcompany'),
(221, 'Can add reminder trigger', 36, 'add_remindertrigger'),
(222, 'Can change reminder trigger', 36, 'change_remindertrigger'),
(223, 'Can delete reminder trigger', 36, 'delete_remindertrigger'),
(224, 'Can view reminder trigger', 36, 'view_remindertrigger'),
(225, 'Can add cancel trigger', 37, 'add_canceltrigger'),
(226, 'Can change cancel trigger', 37, 'change_canceltrigger'),
(227, 'Can delete cancel trigger', 37, 'delete_canceltrigger'),
(228, 'Can view cancel trigger', 37, 'view_canceltrigger'),
(229, 'Can add overdue trigger', 38, 'add_overduetrigger'),
(230, 'Can change overdue trigger', 38, 'change_overduetrigger'),
(231, 'Can delete overdue trigger', 38, 'delete_overduetrigger'),
(232, 'Can view overdue trigger', 38, 'view_overduetrigger'),
(245, 'Can add reminder trigger', 38, 'add_remindertrigger'),
(246, 'Can change reminder trigger', 38, 'change_remindertrigger'),
(247, 'Can delete reminder trigger', 38, 'delete_remindertrigger'),
(248, 'Can view reminder trigger', 38, 'view_remindertrigger'),
(249, 'Can add overdue trigger', 36, 'add_overduetrigger'),
(250, 'Can change overdue trigger', 36, 'change_overduetrigger'),
(251, 'Can delete overdue trigger', 36, 'delete_overduetrigger'),
(252, 'Can view overdue trigger', 36, 'view_overduetrigger'),
(253, 'Can add asset group', 39, 'add_assetgroup'),
(254, 'Can change asset group', 39, 'change_assetgroup'),
(255, 'Can delete asset group', 39, 'delete_assetgroup'),
(256, 'Can view asset group', 39, 'view_assetgroup'),
(257, 'Can add delegation', 40, 'add_delegation'),
(258, 'Can change delegation', 40, 'change_delegation'),
(259, 'Can delete delegation', 40, 'delete_delegation'),
(260, 'Can view delegation', 40, 'view_delegation'),
(261, 'Can add user history', 41, 'add_userhistory'),
(262, 'Can change user history', 41, 'change_userhistory'),
(263, 'Can delete user history', 41, 'delete_userhistory'),
(264, 'Can view user history', 41, 'view_userhistory'),
(265, 'Can add extract transform load', 42, 'add_extracttransformload'),
(266, 'Can change extract transform load', 42, 'change_extracttransformload'),
(267, 'Can delete extract transform load', 42, 'delete_extracttransformload'),
(268, 'Can view extract transform load', 42, 'view_extracttransformload'),
(269, 'Can add asset group', 9, 'add_assetgroup'),
(270, 'Can change asset group', 9, 'change_assetgroup'),
(271, 'Can delete asset group', 9, 'delete_assetgroup'),
(272, 'Can view asset group', 9, 'view_assetgroup'),
(273, 'Can add attachment', 10, 'add_attachment'),
(274, 'Can change attachment', 10, 'change_attachment'),
(275, 'Can delete attachment', 10, 'delete_attachment'),
(276, 'Can view attachment', 10, 'view_attachment'),
(277, 'Can add change request form approvers', 11, 'add_changerequestformapprovers'),
(278, 'Can change change request form approvers', 11, 'change_changerequestformapprovers'),
(279, 'Can delete change request form approvers', 11, 'delete_changerequestformapprovers'),
(280, 'Can view change request form approvers', 11, 'view_changerequestformapprovers'),
(281, 'Can add change request form header', 12, 'add_changerequestformheader'),
(282, 'Can change change request form header', 12, 'change_changerequestformheader'),
(283, 'Can delete change request form header', 12, 'delete_changerequestformheader'),
(284, 'Can view change request form header', 12, 'view_changerequestformheader'),
(285, 'Can add change request history', 13, 'add_changerequesthistory'),
(286, 'Can change change request history', 13, 'change_changerequesthistory'),
(287, 'Can delete change request history', 13, 'delete_changerequesthistory'),
(288, 'Can view change request history', 13, 'view_changerequesthistory'),
(289, 'Can add change request template header', 14, 'add_changerequesttemplateheader'),
(290, 'Can change change request template header', 14, 'change_changerequesttemplateheader'),
(291, 'Can delete change request template header', 14, 'delete_changerequesttemplateheader'),
(292, 'Can view change request template header', 14, 'view_changerequesttemplateheader'),
(293, 'Can add company', 15, 'add_company'),
(294, 'Can change company', 15, 'change_company'),
(295, 'Can delete company', 15, 'delete_company'),
(296, 'Can view company', 15, 'view_company'),
(297, 'Can add delegation', 16, 'add_delegation'),
(298, 'Can change delegation', 16, 'change_delegation'),
(299, 'Can delete delegation', 16, 'delete_delegation'),
(300, 'Can view delegation', 16, 'view_delegation'),
(301, 'Can add email logs', 17, 'add_emaillogs'),
(302, 'Can change email logs', 17, 'change_emaillogs'),
(303, 'Can delete email logs', 17, 'delete_emaillogs'),
(304, 'Can view email logs', 17, 'view_emaillogs'),
(305, 'Can add entity log', 18, 'add_entitylog'),
(306, 'Can change entity log', 18, 'change_entitylog'),
(307, 'Can delete entity log', 18, 'delete_entitylog'),
(308, 'Can view entity log', 18, 'view_entitylog'),
(309, 'Can add extract transform load', 19, 'add_extracttransformload'),
(310, 'Can change extract transform load', 19, 'change_extracttransformload'),
(311, 'Can delete extract transform load', 19, 'delete_extracttransformload'),
(312, 'Can view extract transform load', 19, 'view_extracttransformload'),
(313, 'Can add master attachment', 20, 'add_masterattachment'),
(314, 'Can change master attachment', 20, 'change_masterattachment'),
(315, 'Can delete master attachment', 20, 'delete_masterattachment'),
(316, 'Can view master attachment', 20, 'view_masterattachment'),
(317, 'Can add notification', 21, 'add_notification'),
(318, 'Can change notification', 21, 'change_notification'),
(319, 'Can delete notification', 21, 'delete_notification'),
(320, 'Can view notification', 21, 'view_notification'),
(321, 'Can add password reset', 22, 'add_passwordreset'),
(322, 'Can change password reset', 22, 'change_passwordreset'),
(323, 'Can delete password reset', 22, 'delete_passwordreset'),
(324, 'Can view password reset', 22, 'view_passwordreset'),
(325, 'Can add permission', 23, 'add_permission'),
(326, 'Can change permission', 23, 'change_permission'),
(327, 'Can delete permission', 23, 'delete_permission'),
(328, 'Can view permission', 23, 'view_permission'),
(329, 'Can add role', 24, 'add_role'),
(330, 'Can change role', 24, 'change_role'),
(331, 'Can delete role', 24, 'delete_role'),
(332, 'Can view role', 24, 'view_role'),
(333, 'Can add status', 25, 'add_status'),
(334, 'Can change status', 25, 'change_status'),
(335, 'Can delete status', 25, 'delete_status'),
(336, 'Can view status', 25, 'view_status'),
(337, 'Can add user image', 26, 'add_userimage'),
(338, 'Can change user image', 26, 'change_userimage'),
(339, 'Can delete user image', 26, 'delete_userimage'),
(340, 'Can view user image', 26, 'view_userimage'),
(341, 'Can add user history', 27, 'add_userhistory'),
(342, 'Can change user history', 27, 'change_userhistory'),
(343, 'Can delete user history', 27, 'delete_userhistory'),
(344, 'Can view user history', 27, 'view_userhistory'),
(345, 'Can add role permission', 28, 'add_rolepermission'),
(346, 'Can change role permission', 28, 'change_rolepermission'),
(347, 'Can delete role permission', 28, 'delete_rolepermission'),
(348, 'Can view role permission', 28, 'view_rolepermission'),
(349, 'Can add reminder trigger', 29, 'add_remindertrigger'),
(350, 'Can change reminder trigger', 29, 'change_remindertrigger'),
(351, 'Can delete reminder trigger', 29, 'delete_remindertrigger'),
(352, 'Can view reminder trigger', 29, 'view_remindertrigger'),
(353, 'Can add overdue trigger', 30, 'add_overduetrigger'),
(354, 'Can change overdue trigger', 30, 'change_overduetrigger'),
(355, 'Can delete overdue trigger', 30, 'delete_overduetrigger'),
(356, 'Can view overdue trigger', 30, 'view_overduetrigger'),
(357, 'Can add module', 31, 'add_module'),
(358, 'Can change module', 31, 'change_module'),
(359, 'Can delete module', 31, 'delete_module'),
(360, 'Can view module', 31, 'view_module'),
(361, 'Can add department', 32, 'add_department'),
(362, 'Can change department', 32, 'change_department'),
(363, 'Can delete department', 32, 'delete_department'),
(364, 'Can view department', 32, 'view_department'),
(365, 'Can add change request template stake holders', 33, 'add_changerequesttemplatestakeholders'),
(366, 'Can change change request template stake holders', 33, 'change_changerequesttemplatestakeholders'),
(367, 'Can delete change request template stake holders', 33, 'delete_changerequesttemplatestakeholders'),
(368, 'Can view change request template stake holders', 33, 'view_changerequesttemplatestakeholders'),
(369, 'Can add change request template details', 34, 'add_changerequesttemplatedetails'),
(370, 'Can change change request template details', 34, 'change_changerequesttemplatedetails'),
(371, 'Can delete change request template details', 34, 'delete_changerequesttemplatedetails'),
(372, 'Can view change request template details', 34, 'view_changerequesttemplatedetails'),
(373, 'Can add change request template attachments', 35, 'add_changerequesttemplateattachments'),
(374, 'Can change change request template attachments', 35, 'change_changerequesttemplateattachments'),
(375, 'Can delete change request template attachments', 35, 'delete_changerequesttemplateattachments'),
(376, 'Can view change request template attachments', 35, 'view_changerequesttemplateattachments'),
(377, 'Can add change request template approvers', 36, 'add_changerequesttemplateapprovers'),
(378, 'Can change change request template approvers', 36, 'change_changerequesttemplateapprovers'),
(379, 'Can delete change request template approvers', 36, 'delete_changerequesttemplateapprovers'),
(380, 'Can view change request template approvers', 36, 'view_changerequesttemplateapprovers'),
(381, 'Can add change request form stake holders', 37, 'add_changerequestformstakeholders'),
(382, 'Can change change request form stake holders', 37, 'change_changerequestformstakeholders'),
(383, 'Can delete change request form stake holders', 37, 'delete_changerequestformstakeholders'),
(384, 'Can view change request form stake holders', 37, 'view_changerequestformstakeholders'),
(385, 'Can add change request form details', 38, 'add_changerequestformdetails'),
(386, 'Can change change request form details', 38, 'change_changerequestformdetails'),
(387, 'Can delete change request form details', 38, 'delete_changerequestformdetails'),
(388, 'Can view change request form details', 38, 'view_changerequestformdetails'),
(389, 'Can add change request form attachments', 39, 'add_changerequestformattachments'),
(390, 'Can change change request form attachments', 39, 'change_changerequestformattachments'),
(391, 'Can delete change request form attachments', 39, 'delete_changerequestformattachments'),
(392, 'Can view change request form attachments', 39, 'view_changerequestformattachments'),
(393, 'Can add cancel trigger', 40, 'add_canceltrigger'),
(394, 'Can change cancel trigger', 40, 'change_canceltrigger'),
(395, 'Can delete cancel trigger', 40, 'delete_canceltrigger'),
(396, 'Can view cancel trigger', 40, 'view_canceltrigger'),
(397, 'Can add auth token', 41, 'add_authtoken'),
(398, 'Can change auth token', 41, 'change_authtoken'),
(399, 'Can delete auth token', 41, 'delete_authtoken'),
(400, 'Can view auth token', 41, 'view_authtoken'),
(401, 'Can add allowed company', 42, 'add_allowedcompany'),
(402, 'Can change allowed company', 42, 'change_allowedcompany'),
(403, 'Can delete allowed company', 42, 'delete_allowedcompany'),
(404, 'Can view allowed company', 42, 'view_allowedcompany');
/*!40000 ALTER TABLE `auth_permission` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_user: ~1 rows (approximately)
DELETE FROM `auth_user`;
/*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
INSERT INTO `auth_user` (`id`, `last_login`, `is_superuser`, `first_name`, `last_name`, `is_staff`, `is_active`, `date_joined`, `user_type`, `code`, `name`, `username`, `password`, `contact_no`, `email`, `default_app_id`, `department_id`, `doa_id`) VALUES
(1, '2019-11-25 14:25:06.048963', 1, '', '', 1, 1, '2019-09-23 12:42:37.938304', 'SU', 'USER-20190923-0000001', '', 'superuser', 'pbkdf2_sha256$150000$YLmqqWBQGsJG$r4NYkY05q1zlmgzh106ejBbzd0NY00YEfylllyVQyk0=', NULL, 'red@tirsolutions.com', 'APP-20190923-0000001', 'DEPARTMENT-20190923-0000001', NULL);
/*!40000 ALTER TABLE `auth_user` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_user_application: ~3 rows (approximately)
DELETE FROM `auth_user_application`;
/*!40000 ALTER TABLE `auth_user_application` DISABLE KEYS */;
INSERT INTO `auth_user_application` (`id`, `user_id`, `application_id`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3);
/*!40000 ALTER TABLE `auth_user_application` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_user_groups: ~0 rows (approximately)
DELETE FROM `auth_user_groups`;
/*!40000 ALTER TABLE `auth_user_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_user_groups` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_user_images: ~1 rows (approximately)
DELETE FROM `auth_user_images`;
/*!40000 ALTER TABLE `auth_user_images` DISABLE KEYS */;
INSERT INTO `auth_user_images` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `name`, `image`, `is_primary`, `user_id`) VALUES
(11, '2019-10-15 12:27:13.058304', 'superuser', '2019-10-15 12:27:13.058352', 'superuser', '_profile_pic.png', 'user_images/_profile_pic.png', 1, 'USER-20190923-0000001');
/*!40000 ALTER TABLE `auth_user_images` ENABLE KEYS */;
-- Dumping data for table rms_db.auth_user_user_permissions: ~0 rows (approximately)
DELETE FROM `auth_user_user_permissions`;
/*!40000 ALTER TABLE `auth_user_user_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_user_user_permissions` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_form_approvers: ~0 rows (approximately)
DELETE FROM `change_request_form_approvers`;
/*!40000 ALTER TABLE `change_request_form_approvers` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_form_approvers` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_form_attachments: ~0 rows (approximately)
DELETE FROM `change_request_form_attachments`;
/*!40000 ALTER TABLE `change_request_form_attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_form_attachments` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_form_details: ~0 rows (approximately)
DELETE FROM `change_request_form_details`;
/*!40000 ALTER TABLE `change_request_form_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_form_details` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_form_headers: ~0 rows (approximately)
DELETE FROM `change_request_form_headers`;
/*!40000 ALTER TABLE `change_request_form_headers` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_form_headers` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_form_stakeholders: ~0 rows (approximately)
DELETE FROM `change_request_form_stakeholders`;
/*!40000 ALTER TABLE `change_request_form_stakeholders` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_form_stakeholders` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_history: ~0 rows (approximately)
DELETE FROM `change_request_history`;
/*!40000 ALTER TABLE `change_request_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_history` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_template_approvers: ~0 rows (approximately)
DELETE FROM `change_request_template_approvers`;
/*!40000 ALTER TABLE `change_request_template_approvers` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_template_approvers` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_template_attachments: ~0 rows (approximately)
DELETE FROM `change_request_template_attachments`;
/*!40000 ALTER TABLE `change_request_template_attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_template_attachments` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_template_details: ~0 rows (approximately)
DELETE FROM `change_request_template_details`;
/*!40000 ALTER TABLE `change_request_template_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_template_details` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_template_headers: ~0 rows (approximately)
DELETE FROM `change_request_template_headers`;
/*!40000 ALTER TABLE `change_request_template_headers` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_template_headers` ENABLE KEYS */;
-- Dumping data for table rms_db.change_request_template_stakeholders: ~0 rows (approximately)
DELETE FROM `change_request_template_stakeholders`;
/*!40000 ALTER TABLE `change_request_template_stakeholders` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_template_stakeholders` ENABLE KEYS */;
-- Dumping data for table rms_db.companies: ~1 rows (approximately)
DELETE FROM `companies`;
/*!40000 ALTER TABLE `companies` DISABLE KEYS */;
INSERT INTO `companies` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `contact_details`) VALUES
(1, '2019-09-23 12:45:31.058709', 'superuser', '2019-10-01 18:10:40.098534', 'superuser', 'COMPANY-20190923-0000001', 'Oneberry Technologies Pte Ltd', '2152509');
/*!40000 ALTER TABLE `companies` ENABLE KEYS */;
-- Dumping data for table rms_db.delegations: ~8 rows (approximately)
DELETE FROM `delegations`;
/*!40000 ALTER TABLE `delegations` DISABLE KEYS */;
INSERT INTO `delegations` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`) VALUES
(1, '2019-11-19 17:46:08.984731', 'superuser', '2019-11-19 17:46:08.984731', 'superuser', 'DELEGATION-20191119-0000001', 'Requestor'),
(2, '2019-11-19 17:46:18.010437', 'superuser', '2019-11-19 17:46:18.010437', 'superuser', 'DELEGATION-20191119-0000002', 'Vendor/Implementor'),
(3, '2019-11-19 17:46:26.168693', 'superuser', '2019-11-22 10:03:40.605242', 'superuser', 'DELEGATION-20191119-0000003', 'Head of Department'),
(4, '2019-11-19 17:46:34.020753', 'superuser', '2019-11-19 17:46:34.020753', 'superuser', 'DELEGATION-20191119-0000004', 'SD/OD'),
(5, '2019-11-19 17:46:41.461203', 'superuser', '2019-11-19 17:46:41.462205', 'superuser', 'DELEGATION-20191119-0000005', 'Change Control Board'),
(6, '2019-11-19 17:46:49.472397', 'superuser', '2019-11-19 17:46:49.472397', 'superuser', 'DELEGATION-20191119-0000006', 'Approver'),
(12, '2019-11-21 09:46:42.763973', 'superuser', '2019-11-21 09:46:55.656089', 'superuser', 'DELEGATION-20191121-0000012', 'Facilities Manager'),
(13, '2019-11-21 09:47:04.092120', 'superuser', '2019-11-21 10:08:40.239094', 'superuser', 'DELEGATION-20191121-0000013', 'Move Manager');
/*!40000 ALTER TABLE `delegations` ENABLE KEYS */;
-- Dumping data for table rms_db.departments: ~1 rows (approximately)
DELETE FROM `departments`;
/*!40000 ALTER TABLE `departments` DISABLE KEYS */;
INSERT INTO `departments` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `company_id`) VALUES
(1, '2019-09-23 12:45:52.531178', 'superuser', '2019-10-01 18:12:27.956536', 'superuser', 'DEPARTMENT-20190923-0000001', 'Super User', 'COMPANY-20190923-0000001');
/*!40000 ALTER TABLE `departments` ENABLE KEYS */;
-- Dumping data for table rms_db.email_logs: ~1 rows (approximately)
DELETE FROM `email_logs`;
/*!40000 ALTER TABLE `email_logs` DISABLE KEYS */;
INSERT INTO `email_logs` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `template`, `recipients`, `content`, `is_sent`) VALUES
(1, '2019-12-11 15:57:36.338584', 'red@tirsolutions.com', '2019-12-11 15:57:36.338637', 'red@tirsolutions.com', 'RMS-NEWUSER.html', 'tirsamemail+fan@gmail.com', '<!DOCTYPE html>\n<html>\n<head>\n<title>RMS: New User Created</title>\n</head>\n<body style="font-family: arial;">\n\n<h3>Resource Management System &#40;RMS&#41;</h3>\n<h3 style="color:#888888;">New User Created</h3><br>\n\n<p>Dear Rita Fantilga,</p><br>\n<p>You have been created as a new user of RMS. Please see your default login details below.</p><br>\n \n<b>Username</b><br>ob-rita<br><br>\n<b>Password</b><br>xqZgDfBjZR<br><br>\n\n<p>You may change your password through the <u><a href="http://devweb.rmsv2.oneberrysystem.com/cms/profile" style="text-decoration:underline;color:#007bff;" target="_blank">my profile</a></u> section of RMS any time.</p><br>\n \n<p>Sincerely,</p>\n<p>RMS Team</p><br><br>\n \n<p>Powered by</p>\n<img src="https://s3-ap-southeast-1.amazonaws.com/oneberry/img/logo_oneberry.png" class="img-responsive" style="width:150px;height:auto;" />\n \n</body>\n</html>', 1);
/*!40000 ALTER TABLE `email_logs` ENABLE KEYS */;
-- Dumping data for table rms_db.entity_logs: ~0 rows (approximately)
DELETE FROM `entity_logs`;
/*!40000 ALTER TABLE `entity_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `entity_logs` ENABLE KEYS */;
-- Dumping data for table rms_db.extract_transform_load: ~0 rows (approximately)
DELETE FROM `extract_transform_load`;
/*!40000 ALTER TABLE `extract_transform_load` DISABLE KEYS */;
/*!40000 ALTER TABLE `extract_transform_load` ENABLE KEYS */;
-- Dumping data for table rms_db.extract_transform_load_user_history: ~0 rows (approximately)
DELETE FROM `extract_transform_load_user_history`;
/*!40000 ALTER TABLE `extract_transform_load_user_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `extract_transform_load_user_history` ENABLE KEYS */;
-- Dumping data for table rms_db.master_attachments: ~8 rows (approximately)
DELETE FROM `master_attachments`;
/*!40000 ALTER TABLE `master_attachments` DISABLE KEYS */;
INSERT INTO `master_attachments` (`id`, `url`, `attch_ref`) VALUES
(323, 'uploads/RMS_-_Forgot_Password_3_A77aRmz.html', 'url'),
(324, 'uploads/batch_upload.xlsx', 'url'),
(325, 'uploads/batch_upload_rewd8IS.xlsx', 'sa1w1ypu4qbk39jbkek'),
(332, 'uploads/zzzzz7_6yOT3ai.xlsx', 'url'),
(374, 'uploads/instruction.pdf', 'url'),
(507, 'uploads/fred.png', 'url'),
(612, 'uploads/zzzzz7.xlsx', 'url'),
(818, 'uploads/user_format.csv', 'etl_gen');
/*!40000 ALTER TABLE `master_attachments` ENABLE KEYS */;
-- Dumping data for table rms_db.modules: ~9 rows (approximately)
DELETE FROM `modules`;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */;
INSERT INTO `modules` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `sort_id`, `component`, `application_id`, `parent_id`) VALUES
(1, '2019-09-27 12:49:27.795897', 'superuser', '2019-09-27 12:49:27.795897', 'superuser', 'MODULE-20190927-0000001', 'Application Management', 1, 'rms/application-management', 'APP-20190923-0000001', NULL),
(2, '2019-09-27 12:49:31.756321', 'superuser', '2019-09-27 13:00:57.280102', 'superuser', 'MODULE-20190927-0000002', 'Company Management', 2, 'rms/company-management', 'APP-20190923-0000001', NULL),
(3, '2019-09-27 12:49:49.528430', 'superuser', '2019-09-27 13:00:18.423200', 'superuser', 'MODULE-20190927-0000003', 'Department Management', 4, 'rms/department-management', 'APP-20190923-0000001', NULL),
(4, '2019-09-27 12:49:57.378955', 'superuser', '2019-09-27 12:58:07.634481', 'superuser', 'MODULE-20190927-0000004', 'Module Management', 5, 'rms/module-management', 'APP-20190923-0000001', NULL),
(5, '2019-09-27 12:50:01.383432', 'superuser', '2019-09-30 14:37:53.210860', 'superuser', 'MODULE-20190927-0000005', 'User Management', 6, 'rms/user-management', 'APP-20190923-0000001', NULL),
(6, '2019-09-27 12:50:15.910699', 'superuser', '2019-09-27 19:04:53.805099', 'superuser', 'MODULE-20190927-0000006', 'Change Request Template', 3, 'cms/change-request/template', 'APP-20190923-0000002', NULL),
(10, '2019-09-28 12:28:20.174483', 'superuser', '2019-09-30 14:38:38.604217', 'superuser', 'MODULE-20190928-0000010', 'Change Request Form', 2, 'cms/change-request/form', 'APP-20190923-0000002', NULL),
(11, '2019-09-30 17:15:33.022534', 'superuser', '2019-09-30 17:15:33.022578', 'superuser', 'MODULE-20190930-0000011', 'Notification', 1, 'cms/notifications', 'APP-20190923-0000002', NULL),
(19, '2019-11-07 17:27:21.486248', 'superuser', '2019-11-07 17:27:21.486290', 'superuser', 'MODULE-20191107-0000019', 'Delegation Management', 7, 'rms/delegation-management', 'APP-20190923-0000001', NULL);
/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
-- Dumping data for table rms_db.notifications: ~0 rows (approximately)
DELETE FROM `notifications`;
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
-- Dumping data for table rms_db.password_resets: ~0 rows (approximately)
DELETE FROM `password_resets`;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
-- Dumping data for table rms_db.permissions: ~0 rows (approximately)
DELETE FROM `permissions`;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
-- Dumping data for table rms_db.roles: ~0 rows (approximately)
DELETE FROM `roles`;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
-- Dumping data for table rms_db.role_permissions: ~0 rows (approximately)
DELETE FROM `role_permissions`;
/*!40000 ALTER TABLE `role_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `role_permissions` ENABLE KEYS */;
-- Dumping data for table rms_db.status_set: ~0 rows (approximately)
DELETE FROM `status_set`;
/*!40000 ALTER TABLE `status_set` DISABLE KEYS */;
/*!40000 ALTER TABLE `status_set` ENABLE KEYS */;
-- Dumping data for table rms_db.trigger_cancel: ~0 rows (approximately)
DELETE FROM `trigger_cancel`;
/*!40000 ALTER TABLE `trigger_cancel` DISABLE KEYS */;
/*!40000 ALTER TABLE `trigger_cancel` ENABLE KEYS */;
-- Dumping data for table rms_db.trigger_overdue: ~0 rows (approximately)
DELETE FROM `trigger_overdue`;
/*!40000 ALTER TABLE `trigger_overdue` DISABLE KEYS */;
/*!40000 ALTER TABLE `trigger_overdue` ENABLE KEYS */;
-- Dumping data for table rms_db.trigger_reminder: ~0 rows (approximately)
DELETE FROM `trigger_reminder`;
/*!40000 ALTER TABLE `trigger_reminder` DISABLE KEYS */;
/*!40000 ALTER TABLE `trigger_reminder` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment