View Issue Details

IDProjectCategoryView StatusLast Update
0009037CTT UA Test Case1 - Script Issuepublic2023-07-31 13:13
ReporterMartin Regen Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionreopened 
PlatformUA .NET stackOSwindowsOS Version11
Summary0009037: CTT needs a user with admin permissions to check diagnostic nodes
Description

A few tests rely on checking some diagnostic nodes to validate, however an authenticated user has only limited access to these nodes so the tests fail.
If CTT had an additional admin identity to check these tests would pass.
I tried to run the CTT with user authentication and setup the first test user as admin, but then some tests fail because something is not quite right with the test scripts when using user auth.

TagsNo tags attached.
Files Affected

/library/Base/identity.js
/library/Base/settings.js
/maintree/Base Information/Base Info Core Structure/Test Cases/initialize.js
/default.ctt.xml

Activities

Yannik Klaass

2023-07-28 14:00

developer   ~0019735

Adding folder '/Session/Credentials' to the CTT settings to specify identities for all well-known roles, extending UserCredentials.createFromSettings() with those settings and modifying Base Info Core Structure / initialize.js to use the new PresetCredential 'SecurityAdmin'

Paul Hunkar

2023-07-31 13:10

administrator   ~0019749

role testing is deferred. cloned issue to seperate issue for why it does not work if the first one is a security admin

Alexander Allmendinger

2023-07-31 13:13

developer   ~0019751

Martin,
can you provide some details, either here or via mail, what tests fail when configuring a user as AccessGranted1 which is of the SecurityAdmin role?

Issue History

Date Modified Username Field Change
2023-07-03 06:58 Martin Regen New Issue
2023-07-21 15:19 Paul Hunkar Assigned To => Yannik Klaass
2023-07-21 15:19 Paul Hunkar Status new => assigned
2023-07-28 13:59 Yannik Klaass Files Affected => /library/Base/identity.js
/library/Base/settings.js
/maintree/Base Information/Base Info Core Structure/Test Cases/initialize.js
/default.ctt.xml
2023-07-28 14:00 Yannik Klaass Status assigned => resolved
2023-07-28 14:00 Yannik Klaass Resolution open => fixed
2023-07-28 14:00 Yannik Klaass Note Added: 0019735
2023-07-31 13:10 Paul Hunkar Status resolved => feedback
2023-07-31 13:10 Paul Hunkar Resolution fixed => reopened
2023-07-31 13:10 Paul Hunkar Note Added: 0019749
2023-07-31 13:10 Paul Hunkar Issue cloned: 0009064
2023-07-31 13:13 Alexander Allmendinger Note Added: 0019751