dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbxActionTokenUsageAudit_test.php File Reference

Go to the source code of this file.

Variables

 $root = dirname(__DIR__, 2)
 $modulesRoot = $root . '/modules'
 $fail
 $manualScopeAllowlist
 Bewusste Ausnahmen vom zentralen Standardweg.
 $calls = array('action_token', 'check_action_token')
 $iterator
foreach( $iterator as $file) foreach($manualScopeAllowlist as $relative=> $reason) $formSource = (string)file_get_contents($root . '/include/dbxForm.class.php')
 if (strpos( $formSource, 'substr( $secure') !==false||strpos( $formSource, 'substr( $posted') !==false)

Variable Documentation

◆ $calls

$calls = array('action_token', 'check_action_token')

Definition at line 43 of file dbxActionTokenUsageAudit_test.php.

◆ $fail

$fail
Initial value:
= static function (string $message, int $code): void {
fwrite(STDERR, "FAIL: $message\n");
exit($code);
}
exit
Definition index.php:146

Definition at line 6 of file dbxActionTokenUsageAudit_test.php.

◆ $formSource

foreach($iterator as $file) foreach ( $manualScopeAllowlist as $relative=> $reason) $formSource = (string)file_get_contents($root . '/include/dbxForm.class.php')

Definition at line 98 of file dbxActionTokenUsageAudit_test.php.

◆ $iterator

$iterator
Initial value:
= new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($modulesRoot, FilesystemIterator::SKIP_DOTS)
)

Definition at line 44 of file dbxActionTokenUsageAudit_test.php.

◆ $manualScopeAllowlist

$manualScopeAllowlist
Initial value:
= array(
'dbxAdmin/include/dbxUser.class.php' =>
'verify, lock, unlock und reset_password mit RID',
'dbxContent_admin/include/dbxContent_cms.class.php' =>
'CMS-JSON, Upload, Medien- und Sprachaktionen',
'dbxContent_admin/include/dbxContent_seo.class.php' =>
'SEO-JSON und gemeinsam genutzte CMS-Medienendpunkte',
'dbxKi/include/dbxKiCmsService.class.php' =>
'zweistufige plan/execute-API mit expliziter Bestaetigung',
'dbxLogin/include/login.class.php' =>
'Tokenausgabe fuer erneuten Versand der Registrierung',
'dbxLogin/include/register.class.php' =>
'Tokenpruefung fuer erneuten Versand der Registrierung',
'dbxSetup/include/dbxInstall.class.php' =>
'zustandsgebundene Schritte des Erstinstallationsassistenten',
'dbxSelfTest/include/dbxSelfTestController.class.php' =>
'JSON-Testorchestrierung mit eigenem, admininternem Aktionsscope',
'dbxShop_admin/include/dbxShopAdmin.class.php' =>
'Shop-Sammel-, Medien-, Installations- und Statusaktionen',
'dbxWorkflow/include/dbxWorkflowEngine.class.php' =>
'Workflow-Start und instanzgebundene Prozesskommandos',
'dbxWorkflow_admin/include/dbxWorkflowAdmin.class.php' =>
'Erzeugung instanzgebundener Workflow-Fortsetzungslinks',
)

Bewusste Ausnahmen vom zentralen Standardweg.

Diese Aktionen besitzen keine dbxReport-/delete-/save-RID-Semantik oder transportieren komplexe JSON-/Workflow-Kommandos. Darum bleiben Erzeugung und Pruefung ihres fachlichen Scopes vorerst im jeweiligen Dienst.

Definition at line 18 of file dbxActionTokenUsageAudit_test.php.

◆ $modulesRoot

$modulesRoot = $root . '/modules'

Definition at line 4 of file dbxActionTokenUsageAudit_test.php.

◆ $root

$root = dirname(__DIR__, 2)

Definition at line 3 of file dbxActionTokenUsageAudit_test.php.

◆ if

if(strpos($formSource, 'substr($secure') !==false||strpos($formSource, 'substr($posted') !==false) ( )

Definition at line 99 of file dbxActionTokenUsageAudit_test.php.