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
* Add update validation for User.UserName (#943)
* Add update validation for User.UserName
* Fix unit test
* Move username validation to happen before manage-users check (#1016)
Copy file name to clipboardExpand all lines: docs.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -500,6 +500,12 @@ When a user is updated or deleted, a check occurs to ensure that the user making
500
500
501
501
If the user making the request has the verb `manage-users` for the resource `users`, then it is allowed to bypass the check. Note that the wildcard `*` includes the `manage-users` verb.
502
502
503
+
#### Invalid Fields - Update
504
+
505
+
Users can update the following fields if they had not been set. But after getting initial values, the fields cannot be changed:
Copy file name to clipboardExpand all lines: pkg/resources/management.cattle.io/v3/users/User.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,10 @@
4
4
5
5
When a user is updated or deleted, a check occurs to ensure that the user making the request has permissions greater than or equal to the user being updated or deleted. To get the user's groups, the user's UserAttributes are checked. This is best effort, because UserAttributes are only updated when a User logs in, so it may not be perfectly up to date.
6
6
7
-
If the user making the request has the verb `manage-users` for the resource `users`, then it is allowed to bypass the check. Note that the wildcard `*` includes the `manage-users` verb.
7
+
If the user making the request has the verb `manage-users` for the resource `users`, then it is allowed to bypass the check. Note that the wildcard `*` includes the `manage-users` verb.
8
+
9
+
### Invalid Fields - Update
10
+
11
+
Users can update the following fields if they had not been set. But after getting initial values, the fields cannot be changed:
0 commit comments