logo

NJP

12. Examples of Session Debugging

Import · Jan 12, 2024 · article

Explanation -

Displays debug messages for business rules which are considered server side scripts. If there are business rules from multiple applications affecting a table or record, the system displays which application the business rule comes from.

EXAMPLE: Used when you don’t get the expected data after an update/insert of a record.

Debug business rules display in all dark or navy blue text.

Displays all log entries written to the Log [syslog] table or the localhost file.

EXAMPLE: Used to search for exceptions, errors, and warnings.

Text displays in black.

Displays debug messages for SQL statements (i.e. select, insert, update, delete). Debug SQL can be used for different things.

EXAMPLE: Used to find out how the platform is querying the data.

Displays debug messages for access controls (ACLs). If there are access controls from multiple applications affecting a table or record, the system displays which application the access controls comes from.

The Admin overrides option in an Access Control configuration grants access to the admin user, even if the admin user does not meet the requirements of the Access Control. Use caution when testing Access Controls as the admin user because the results may not be indicative of the Access Control’s behavior as a non-admin user.

ACLs are used to protect data. Debug security is the best way to troubleshoot ACLs:

Examine both the color code AND the symbols to determine debugging results.

Dots indicate where the ACL is failing, whether it is for the role, security attribute, condition, or script

  • Green: Access granted
  • Red: Access denied
  • Gray: Rule was not evaluated, typically because part of the rule has already denied access
  • Blue: Rule was not re-evaluated because the result is already in the cache

NOTE: The AccessHandler is an internal system check using hidden source code on the platform. This is a system security check that you cannot modify. AccessHandler can grant or deny access to a resource without evaluating ACLs. If the AccessHandler is ignored, then the ACLs are evaluated.

View original source

https://medium.com/@LearnITbyPrashant/examples-of-session-debugging-04376b50f2fc?source=rss-d005fc598f0a------2