You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use custom roles in login policies, copy the role ID from **Organization Settings** → **Access Control Center** → *
116
-
*Roles** → select role → copy ID.
114
+
To use custom roles in login policies, copy the role ID from **Organization Settings** → **Access Control Center** → **Roles** → select role → copy ID.
117
115
118
116
!!! warning
119
-
120
117
- Please note that Login policies are only allowed to be created in the `root` space, therefore only `root` space admins
121
118
and administrative stacks, as well as `legacy` space administrative stacks can create or modify them.
122
119
- A logged-in user's access levels only get updated when they log out and in again, so newly added spaces might not be
123
120
visible to some users. An exception is that the space's creator immediately gets access to it.
124
121
125
122
## Inheritance
126
123
127
-
Inheritance is a toggle that defines whether a space inherits resources from its parent space or not. When set to true,
128
-
any stack in the child space can use resources such as worker pools or contexts from the parent space. If a space
129
-
inherits from a parent and its parent inherits from the grandparent, then the space inherits from the grandparent as
130
-
well.
124
+
Inheritance is a toggle that defines whether a space inherits resources from its parent space or not. When set to true, any stack in the child space can use resources such as worker pools or contexts from the parent space. If a space inherits from a parent and its parent inherits from the grandparent, then the space inherits from the grandparent as well.
131
125
132
126
Inheritance also modifies how roles propagate between spaces.
133
127
134
-
In a scenario when inheritance between spaces is turned off, the roles are propagated only down the space tree. On the
135
-
other hand, when inheritance is enabled, then a user with any role in the child space also gets **Read** role in their
136
-
parent.
128
+
In a scenario when inheritance between spaces is turned off, the roles are propagated only down the space tree. On the other hand, when inheritance is enabled, then a user with any role in the child space also gets **Read** role in their parent.
137
129
138
-
Below is a diagram that demonstrates how this all works in practice. This is a view for a user that was given the
139
-
following roles by Login policies:
130
+
Below is a diagram that demonstrates how this all works in practice. This is a view for a user that was given the following roles by Login policies:
140
131
141
132
-**Read** in `read access space`
142
133
-**Write** in `write access space`
@@ -148,17 +139,11 @@ Dashed lines indicate a lack of inheritance, while when it's enabled the lines a
148
139
149
140
Let's analyze the tree starting from the left.
150
141
151
-
As mentioned, the user was granted **Space Writer** access to the `write access space` space.
152
-
Because inheritance is enabled, they also received **Space Reader** access to the `access propagates up` space and the
153
-
`root` space. The reason for that is to allow users to see resources that their space can now use.
154
-
155
-
Next, the user was given **Space Admin** access to the `admin access space` space. Regardless of the inheritance being
156
-
off, they also received **Space Admin** access to the `access propagates down` space.
157
-
This makes sense, as we want to allow admins to still manage their spaces subtree even if they want to disable resource
158
-
sharing between some spaces.
159
-
160
-
Finally, the user was given **Space Reader** access to the `read access space` space. Because inheritance is off, they
161
-
did not receive **Space Reader** access to the `legacy` space.
142
+
As mentioned, the user was granted **Write** access to the `write access space` space.
143
+
Because inheritance is enabled, they also received **Read** access to the `access propagates up` space and the `root` space. The reason for that is to allow users to see resources that their space can now use.
144
+
Next, the user was given **Admin** access to the `admin access space` space. Regardless of the inheritance being off, they also received **Admin** access to the `access propagates down` space.
145
+
This makes sense, as we want to allow admins to still manage their spaces subtree even if they want to disable resource sharing between some spaces.
146
+
Finally, the user was given **Read** access to the `read access space` space. Because inheritance is off, they did not receive **Read** access to the `legacy` space.
0 commit comments