Commit realizando cambios en los roles de los usuarios

This commit is contained in:
Jaime Jimenez
2023-04-24 13:00:46 +02:00
parent 2d67588770
commit 8c4d77a598
6587 changed files with 365497 additions and 0 deletions

6
ci4/writable/.htaccess Normal file
View File

@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>

11
ci4/writable/cache/index.html vendored Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,259 @@
{
"info": {
"_postman_id": "8d9cd33a-5881-42c4-b11c-5771a7d2fbb0",
"name": "WebGuard - APIRest",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Auth",
"item": [
{
"name": "SignIn",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "email",
"value": "admin@admin.com",
"type": "text"
},
{
"key": "password",
"value": "123456",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost:8080/api/signin",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"signin"
]
}
},
"response": []
},
{
"name": "Status",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/api/status",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"status"
]
}
},
"response": []
}
]
},
{
"name": "User",
"item": [
{
"name": "Get All",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImFkbWluQGFkbWluLmNvbSIsImlhdCI6MTYzOTE1NzA3MywiZXhwIjoxNjM5MTU3MzczfQ.V7UbVT-yMXF37oln3qpoJ_vaIqXq9wgWKXdOO_VxM-8",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/api/user",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"user"
]
}
},
"response": []
},
{
"name": "Add New",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImFkbWluQGFkbWluLmNvbSIsImlhdCI6MTYzOTE1NzMzMiwiZXhwIjoxNjM5MTU3NjMyfQ.j4aq5G12MubqXls3PyoKsA36MfEFbOryq9peU6YyziU",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "first_name",
"value": "Edu",
"type": "text"
},
{
"key": "last_name",
"value": "Fiorini",
"type": "text"
},
{
"key": "email",
"value": "eduardofiorini23@outlook.com",
"type": "text"
},
{
"key": "password",
"value": "12345678",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost:8080/api/user",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"user"
]
}
},
"response": []
},
{
"name": "Delete By Token ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImFkbWluQGFkbWluLmNvbSIsImlhdCI6MTYzOTE1NzMzMiwiZXhwIjoxNjM5MTU3NjMyfQ.j4aq5G12MubqXls3PyoKsA36MfEFbOryq9peU6YyziU",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "http://localhost:8080/api/user/9ba5ae4f1747ed95b1dc7df6f665ebe7",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"user",
"9ba5ae4f1747ed95b1dc7df6f665ebe7"
]
}
},
"response": []
},
{
"name": "Get By Token ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImFkbWluQGFkbWluLmNvbSIsImlhdCI6MTYzOTE1NzMzMiwiZXhwIjoxNjM5MTU3NjMyfQ.j4aq5G12MubqXls3PyoKsA36MfEFbOryq9peU6YyziU",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/api/user/92f223f92f8d1f95298eba5dd09f53af",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"user",
"92f223f92f8d1f95298eba5dd09f53af"
]
}
},
"response": []
},
{
"name": "Edit By Token ID",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "first_name",
"value": "",
"type": "text",
"disabled": true
}
]
},
"url": {
"raw": "http://localhost:8080/api/user/92f223f92f8d1f95298eba5dd09f53af?first_name=Eduardo",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"user",
"92f223f92f8d1f95298eba5dd09f53af"
],
"query": [
{
"key": "first_name",
"value": "Eduardo"
}
]
}
},
"response": []
}
]
}
]
}

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>