Release 2.2.1 (#4389)
* added missing functions to invoice security policy
This commit is contained in:
@@ -17,11 +17,11 @@ class Constants
|
|||||||
/**
|
/**
|
||||||
* The current release version
|
* The current release version
|
||||||
*/
|
*/
|
||||||
public const VERSION = '2.2.0';
|
public const VERSION = '2.2.1';
|
||||||
/**
|
/**
|
||||||
* The current release: major * 10000 + minor * 100 + patch
|
* The current release: major * 10000 + minor * 100 + patch
|
||||||
*/
|
*/
|
||||||
public const VERSION_ID = 20200;
|
public const VERSION_ID = 20201;
|
||||||
/**
|
/**
|
||||||
* The software name
|
* The software name
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ use Symfony\Component\Form\AbstractType;
|
|||||||
*/
|
*/
|
||||||
final class ContractByUserForm extends AbstractType
|
final class ContractByUserForm extends AbstractType
|
||||||
{
|
{
|
||||||
public function getParent(): ?string
|
public function getParent(): string
|
||||||
{
|
{
|
||||||
return YearByUserForm::class;
|
return YearByUserForm::class;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -169,6 +169,10 @@ final class InvoicePolicy implements SecurityPolicyInterface
|
|||||||
// vendor/symfony/twig-bridge/Extension/AssetExtension.php
|
// vendor/symfony/twig-bridge/Extension/AssetExtension.php
|
||||||
'asset',
|
'asset',
|
||||||
|
|
||||||
|
// =================================================================
|
||||||
|
// vendor/symfony/twig-bridge/Extension/SecurityExtension.php
|
||||||
|
'is_granted',
|
||||||
|
|
||||||
// =================================================================
|
// =================================================================
|
||||||
// Twig/RuntimeExtensions.php
|
// Twig/RuntimeExtensions.php
|
||||||
'qr_code_data_uri',
|
'qr_code_data_uri',
|
||||||
@@ -176,6 +180,12 @@ final class InvoicePolicy implements SecurityPolicyInterface
|
|||||||
// =================================================================
|
// =================================================================
|
||||||
// Twig/Configuration.php
|
// Twig/Configuration.php
|
||||||
'config',
|
'config',
|
||||||
|
|
||||||
|
// =================================================================
|
||||||
|
// Twig/LocaleFormatExtensions.php
|
||||||
|
'create_date',
|
||||||
|
'month_names',
|
||||||
|
'locale_format',
|
||||||
]
|
]
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user