Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

source

function

target

result

user A

can SU

user B

true/false

Panel
titleDefinitions: Types of users

Priv User = users that are added to a role in the 'SU Realm' which has the 'Can SU' security function
Standard User =

  1. ) any user that is not SuperUser and has not been added to a role in the 'SU Realm' which has the 'Can SU' security function, or
  2. ) any user that is not SuperUser and has been added to a role in the 'SU Realm' which does not have the 'Can SU' security functionSuperUser = any user that has a 'magical' name or ability to edit the admin home site.

What is expected:

test

source

function

target

result

Test #

SuperUser

can SU

SuperUser

false

 

test 3

SuperUser

can SU

Priv User

true

 

 

SuperUser

can SU

Standard User

true

 

 

Standard User

can SU

SuperUser

false

 

test 5

Standard User

can SU

Priv User

false

 

 

Standard User

can SU

Standard User

false

 

test 4

Priv User

can SU

SuperUser

false

 

test 6a

Priv User

can SU

Standard User

true

 

test 6b

Priv User

can SU

Priv User

true

 

 

...

Expected result: 'unauthorized' - Standard users cannot su another standard user account with out the correct permissions

Test 5 - Validate Standard User cannot SU SuperUser

Login as a standard user Standard User and select the tool page test site that contains the SU Tool.
type Type in the name of SuperAccount a SuperUser and select 'become user'.

Expected result: 'unauthorized' - Standard users cannot su SU a SuperUser account.

Test 6

...

Prep for 6-a and 6b

...

  1. Login as admin and access the

...

  1. Realms tool and edit the realm entitled '!su.can_su_realm'.

...

  1. Add a role (example 'Can SU').

...

  1. Add a Checkbox next to 'su.can_su' permission for that role.

...

  1. Click on 'add a grant'.

...

  1. Type in the name of a

...

  1. Standard User in the test site.

...

  1. Save the edit
  2. Logout and re-login as the username given in

...

  1. Test 3.
  2. Select the

...

  1. test site that contains the SU Tool.

6-a

select tool reset button
type in the name of SuperUser and select 'become user'

...