Role Inheritance - Test cases for Testlink
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Name (*)Summary (*)PreconditionsSteps (*)Expected results (*)
2
[RIN010] Horizontal HierarchyThis test checks the correct permissions inheritance having an horizontal hierarchyTo have two template roles, A with the following window accesses: window = Sales Order, active = true and window = Sales Invoice active = true. B with the following window accesses: window = Sales Order, active = true and window = Sales Invoice, active = false1. Go to the [Role] window. Create a new manual role. Name it C.
2. Move to the [Role Inheritance] tab. Create a new record: Inherit From A, Sequence Number 10
3. Create another record: Inherit From B, Sequence Number 20
In the [Window Access] tab for Role C, it should have the following permissions:
- Window: Sales Order, Active: true, Inherited From: B
- Window: Sales Invoice, Active: false, Inherited From: B
3
[RIN020] Vertical HierarchyThis test checks the correct permissions inheritance having a vertical hierarchyTo have a template role A with the following window access: window = Sales Order, active = true) 1. Go to the [Role] window. Create a new manual role. Name it B.
2. Go to the [Window Access] tab for role B. Add a new record, window = Purchase Order, active = true
3. Move to the [Role Inheritance] tab for role B. Create a new record: Inherit From = A, Sequence Number = 10
4. Go back to the header, create a new manual role. Name it C.
5. Move to the [Role Inheritance] tab for role C. Create a new record: Inherit From = B, Sequence Number = 10
In the [Window Access] tab for Role B, it should have the following permissions:
- Window: Sales Order, Active: true, Inherited From: A
- Window: Purchase Order, Active: true, Inherited From: empty

In the [Window Access] tab for Role C, it should have the following permissions:
- Window: Sales Order, Active: true, Inherited From: B
- Window: Purchase Order, Active: true, Inherited From: B
4
[RIN030] New access propagationThis test checks if a new access added to a template is created automatically on its childrenTo have a manual role B which inherits from a template role A. (B has a record in the [Role Inheritance] tab, with A set in the Inherit From field)1. Go to the [Role] window. Navigate to template role A.
2. Navigate to any of the inheritable permission tabs. For example, [Form Access], and create a new record: Special Form = About, Active = True
It must exists a record in the [Form Access] tab for role B with the following values: Special Form = About, Active = True, Inherited From = A
5
[RIN040] Updated access propagationThis test checks if the changes donde on an access of template are automatically propagated to its childrenTo have a manual role B which inherits from a template role A. 1. Go to the [Role] window. Navigate to template role A.
2. Navigate to any of the inheritable permission tabs. For example, [Org Access], and create a new record: Organization = F&B España - Región Norte, Organization Administration = false, Active = true
3. Update the previous record changing a value: Organization Administration = true
It must exists a record in the [Org Access] tab for role B with the following values: Organization = F&B España - Región Norte, Organization Administration = true, Active = true, Inherited From = A
6
[RIN050] Delete access propagationThis test checks if the removing an access of a template is automatically propagated to its childrenTo have a manual role B which inherits from a template role A. 1. Go to the [Role] window. Navigate to template role A.
2. Navigate to any of the inheritable permission tabs. For example, [Form Access], and create a new record: Special Form = About, Active = True
3. Remove the previously created record
It must NOT exists a record in the [Form Access] tab for role B with the following values: Special Form = About, Active = True, Inherited From = A
7
[RIN060] Not override not inherited permissionsThis test checks that not inherited permissions remains unchanged after applying an inheritance To have two template roles with a common access. For example, both with this window access: window = Sales Order, Editable field = true, Active = true, Inherited From = empty (These are not inherited permissions)1. Go to the [Role] window. Navigate to template role B.
2. Go to the [Role Inheritance] tab. Create a new record: Inherit From = A, Sequence Number = 10
Window access of role B should remain unchanged: window = Sales Order, Editable Field = true, Active = true, Inherited From = empty
8
[RIN070] Edit inherited permissionThis test checks that inherited permissions can not be modifiedTo have a role with at last one inherited permission1. Navigate to the inherited permission. Try to change any value.The inherited permission must remain unchanged
9
[RIN080] Inheritance cycles (I)This test checks that is not possible to create a cycle on an inheritance hierarchyTo have two template roles: A and B1. Go to the [Role] window. Navigate to role B.
2. Move to the [Role Inheritance] tab. Create a new record: Inherit From = A, Sequence Number = 10.
4. Navigate to role A. Move to the [Role Inheritance] tab. Create a new record: Inherit From = B, Sequence Number = 10
It should not be possible to create the inheritance for role A.
10
[RIN090] Inheritance cycles(II)This test checks that is not possible to create a cycle on an inheritance hierarchyTo have three template roles: A, B and C currently not involved in any inheritance1. Go to the [Role] window. Navigate to role B.
2. Move to the [Role Inheritance] tab. Create a new record: Inherit From = A, Sequence Number = 10.
3. Navigate to role C. Move to the [Role Inheritance] tab. Create a new record: Inherit From = B, Sequence Number = 10.
4. Navigate to role A. Move to the [Role Inheritance] tab. Create a new record: Inherit From = C, Sequence Number = 10
It should not be possible to create the inheritance for role A.
11
[RIN100] Inheritance ancestorsThis test checks that is not possible to use a repeated ancestor on an inheritanceTo have four template roles: A, B, C and D currently not involved in any inheritance1. Go to the [Role] window. Navigate to role B.
2. Move to the [Role Inheritance] tab. Create a new record: Inherit From = A, Sequence Number = 10.
3. Navigate to role C. Move to the [Role Inheritance] tab. Create two new records: Inherit From = B, Sequence Number = 10 and Inherit From = D, Sequence Number = 20.
4. Navigate to role D . Move to the [Role Inheritance] tab. Try to create a new record: Inherit From = A, Sequence Number = 10
It should not be possible to create the inheritance for role D.
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
Main menu