N°6047 - Make iTop scripts work by HTTP via token with specific scopes (#494)

* N°6047 - Make iTop scripts work by HTTP via token with specific scopes

* Update core/contexttag.class.inc.php

---------

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
odain-cbd
2023-06-15 15:36:35 +02:00
committed by GitHub
parent d91eda1343
commit 49d3f4c2b2
4 changed files with 50 additions and 26 deletions

View File

@@ -206,6 +206,10 @@ function ReadMandatoryParam($oP, $sParam, $sSanitizationFilter)
/////////////////////////////////
// Main program
/**
* @since 3.1.0 N°6047
*/
$oCtx = new ContextTag(ContextTag::TAG_IMPORT);
if (utils::IsModeCLI())
{
$oP = new CLIPage("iTop - Bulk import");