Bug 38414: (follow-up) Fix OR operator

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2026-05-18 21:51:10 +00:00
parent fbdd6470fb
commit cc07229532
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ if (
)
{
$flagsrequired = 'create_reports';
} elsif ( $op eq 'list' | $op eq 'show' ) {
} elsif ( $op eq 'list' || $op eq 'show' ) {
$flagsrequired = [ 'create_reports', 'execute_reports', 'delete_reports' ]; #NOTE: "or" permissions
} elsif ( $op eq 'run' || $op eq 'export' || $op eq 'retrieve_results' ) {
$flagsrequired = 'execute_reports';