зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-30 21:26:09 +02:00 
			
		
		
		
	m
Этот коммит содержится в:
		
							родитель
							
								
									34293a566c
								
							
						
					
					
						Коммит
						cbe7884acd
					
				
							
								
								
									
										4
									
								
								devops/k8s/tools/templating/ytt.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										4
									
								
								devops/k8s/tools/templating/ytt.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,4 @@ | ||||
| https://carvel.dev/ytt/ | ||||
| https://carvel.dev/ytt/docs/ | ||||
| 
 | ||||
| https://github.com/carvel-dev/ytt | ||||
| @ -1 +1,3 @@ | ||||
| settings -> developer | ||||
| https://github.com/settings/apps | ||||
| https://github.com/settings/tokens/new | ||||
|  | ||||
| @ -1,8 +1,13 @@ | ||||
| https://github.com/gradle/gradle/releases | ||||
| 
 | ||||
| 9.x | ||||
| https://gradle.org/whats-new/gradle-9/ | ||||
| Jacomet - Gradle 9 is coming: What’s in it for developers? 0:00 of 58:48 | ||||
|     https://www.youtube.com/watch?v=FBCqeY6AhMM | ||||
| Jfocus - The road to Gradle 9 by Louis Jacomet 0:00 of 50:24 | ||||
|     https://www.youtube.com/watch?v=uIq5X7Ty0_0 | ||||
| misc | ||||
|     https://www.youtube.com/watch?v=9CTNORD_Dx4 | ||||
| 
 | ||||
| 8.x | ||||
| https://docs.gradle.org/8.10.2/release-notes.html | ||||
|  | ||||
							
								
								
									
										34
									
								
								security/server/keycloak/features/client-scopes.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										34
									
								
								security/server/keycloak/features/client-scopes.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,34 @@ | ||||
| https://www.baeldung.com/keycloak-custom-user-attributes | ||||
| 
 | ||||
| "operator_id": "54c496e5-de79-4ed7-9acb-248181e6c780" | ||||
| "realm_access": { "roles": [ ..., "operator" ] } | ||||
| "scopes" : "... operator_id" | ||||
| "groups": [..., "operator" ], | ||||
| 
 | ||||
| Realm settings -> User profile -> Create attribute | ||||
|     operator_id | ||||
|     permissions -> Admin/Admin | ||||
|     annotations -> Input type - text | ||||
|     JSON editor | ||||
|         https://www.keycloak.org/docs/latest/server_admin/#_user-profile-json-configuration | ||||
|         fix displayName | ||||
| 
 | ||||
| Realm roles -> operator | ||||
| Users -> some-user -> Role mapping -> Assign role -> select "Filter by Realm Roles" | ||||
| 
 | ||||
| Client scopes -> operator_id | ||||
|     Settings ->  | ||||
|         Include in token scope -> On | ||||
|     Mappers  | ||||
|         Mapper type: "User Attribute" | ||||
|         Name: operator_id | ||||
|         User Attribute: operator_id | ||||
|         Token Claim Name: operator_id | ||||
|         Add to: id token, access token, user info, token introspection | ||||
| Clients -> account-console - Client scopes -> Add client scope -> operator_id (Default) | ||||
| 
 | ||||
| check  | ||||
|     "Realm Roles -> operator -> Users in role" | ||||
|     Users -> some-user -> Details -> operatorId attribute | ||||
|     clients -> client scopes tab -> evaluate ->  | ||||
|         generated access token | ||||
		Загрузка…
	
	
			
			x
			
			
		
	
		Ссылка в новой задаче
	
	Block a user
	 Ihar Hancharenka
						Ihar Hancharenka