TASK-221 Change the AUTH_SOURCE_DATA field from PHP-serialized format to a JSON-formatted string

This commit is contained in:
Brayan Pereyra
2025-09-16 16:03:55 +00:00
parent 8be70e0dc1
commit f908ff1346
5 changed files with 257 additions and 531 deletions

View File

@@ -1,6 +1,7 @@
<?php
use ProcessMaker\Model\RbacAuthenticationSource;
require_once 'classes/AuthSources.php';
try {
if (isset($_REQUEST['action']) === false) {
throw new Exception('No action was sent');
@@ -20,7 +21,7 @@ try {
$limit = $_REQUEST['limit'] ?? $limit_size;
$filter = $_REQUEST['textFilter'] ?? '';
$orderBy = $_REQUEST['orderBy'] ?? '';
$ascending = $_REQUEST['ascending'] ?? '';
$ascending = $_REQUEST['ascending'] ?? 'asc';
$authSources = new AuthSources();
$responseProxy = $authSources->getListAuthSources($userUid, $start, $limit, $orderBy, $ascending, $filter);