Question

1
Replies
24
Views
WilhelmM Member since 2016 8 posts
unymira USU GmbH
Posted: 1 year ago
Last activity: 1 year 7 months ago
Closed

Wrong compare operator by numeric based SecurityClearance in the accademy course example

In the accademy course CUSTOMIZING SECURITY REQUIREMENTS IN PEGA APPLICATIONS there is the following explanation in how to verify a numeric based security clearance.

----

The attributes are represented as a numerical data type. The attribute values must be mapped to a top-level numeric property on both the object (case) and the subject (operator). For example, using the Top Secret, Secret, and Unclassifiedattributes, you can create the following mapping and condition:

Top Secret=1

Secret=2

Unclassified=3

Use a single condition with a numerical comparison to determine the access level:

Operator.SecurityClearance >= .SecurityClearance

----

The grather operator used here is wrong, as it wouldn't make any sense. Please adjust it in the course content to the follwing.

Right: Operator.SecurityClearance <= .SecurityClearance

Pega Academy
Moderation Team has archived post
Share this page LinkedIn