root: RBAC permission cleanup #27298
Annotations
3 errors and 1 warning
run unittest:
authentik/enterprise/providers/rac/tests/test_endpoints_api.py#L58
TestEndpointsAPI.test_list_superuser_full_list
AssertionError: {'pag[587 chars]W', 'verbose_name': 'RAC Provider', 'verbose_n[457 chars] 1}]} != {'pag[587 chars]W', 'connection_expiry': 'hours=8', 'delete_to[1424 chars]/'}]}
{'pagination': {'count': 2,
'current': 1,
'end_index': 2,
'next': 0,
'previous': 0,
'start_index': 1,
'total_pages': 1},
'results': [{'auth_mode': '',
'host': 'mRTmymxuOFYgfui5q4vSH6ac31Q9HMeDFAIO4vj6',
'launch_url': '/application/rac/nZEyo7HoMJh75Y3iuVqHqycWvuxj8CvLGdFj5Vu6/a600a3b0-a3ba-4a60-805d-311042fa8d94/',
'maximum_connections': 1,
'name': 'a-I3FY9aKjlCW7mQH2fTt8Sg8aI2LzJDNUy94g1NV4',
'pk': 'a600a3b0-a3ba-4a60-805d-311042fa8d94',
'property_mappings': [],
'protocol': 'rdp',
'provider': 176,
'provider_obj': {'assigned_application_name': 'y2bQUTzW5kQOYnNd9lLlGQ0lUDgItLb5w7HeI7GW',
'assigned_application_slug': 'nZEyo7HoMJh75Y3iuVqHqycWvuxj8CvLGdFj5Vu6',
'authentication_flow': None,
'authorization_flow': None,
'component': 'ak-provider-rac-form',
'connection_expiry': 'hours=8',
'delete_token_on_disconnect': False,
'meta_model_name': 'authentik_providers_rac.racprovider',
'name': 'ktGNajuwDTRuscDgFIeDlh37yGEViBQd83Op7jOI',
'outpost_set': [],
'pk': 176,
'property_mappings': [],
'settings': {},
'verbose_name': 'RAC Provider',
'verbose_name_plural': 'RAC Providers'},
+ 'settings': {}},
+ {'auth_mode': '',
+ 'host': 'sV0XUs3T5sjXsMddR2KohkyuJPz3R1u2wnbWoR8x',
+ 'launch_url': '/application/rac/nZEyo7HoMJh75Y3iuVqHqycWvuxj8CvLGdFj5Vu6/c3e4075e-8dba-47df-a71e-c82be06e411c/',
+ 'maximum_connections': 1,
+ 'name': 'b-H1piu5T0nQQnvAU5pAskRGGF3Wtvmt6pYykN2TpW',
+ 'pk': 'c3e4075e-8dba-47df-a71e-c82be06e411c',
+ 'property_mappings': [],
+ 'protocol': 'rdp',
+ 'provider': 176,
+ 'provider_obj': {'assigned_application_name': 'y2bQUTzW5kQOYnNd9lLlGQ0lUDgItLb5w7HeI7GW',
+ 'assigned_application_slug': 'nZEyo7HoMJh75Y3iuVqHqycWvuxj8CvLGdFj5Vu6',
+ 'authentication_flow': None,
+ 'authorization_flow': None,
+ 'component': 'ak-provider-rac-form',
+ 'connection_expiry': 'hours=8',
+ 'delete_token_on_disconnect': False,
+ 'meta_model_name': 'authentik_providers_rac.racprovider',
+ 'name': 'ktGNajuwDTRuscDgFIeDlh37yGEViBQd83Op7jOI',
+ 'outpost_set': [],
+ 'pk': 176,
+ 'property_mappings': [],
+ 'settings': {},
+ 'verbose_name': 'RAC Provider',
+ 'verbose_name_plural': 'RAC Providers'},
'settings': {}}]}
|
run unittest:
authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list
AssertionError: {'pag[209 chars]d', 'provider': 189, 'provider_obj': {'pk': 18[748 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 189, 'provider_ob[1110 chars]d'}]}
{'pagination': {'count': 2,
'current': 1,
'end_index': 2,
'next': 0,
'previous': 0,
'start_index': 1,
'total_pages': 1},
'results': [{'backchannel_providers': [],
'backchannel_providers_obj': [],
'group': '',
'launch_url': 'https://goauthentik.io/yJ6ZYZrPYOIBpuYgume6',
'meta_description': '',
'meta_icon': None,
'meta_launch_url': 'https://goauthentik.io/%(username)s',
'meta_publisher': '',
'name': 'allowed',
'open_in_new_tab': True,
'pk': '10dd3643-000f-4704-ad47-72c54e302b19',
'policy_engine_mode': 'any',
'provider': 189,
'provider_obj': {'assigned_application_name': 'allowed',
'assigned_application_slug': 'allowed',
'authentication_flow': None,
'authorization_flow': '00dd771d-bf83-49de-ae91-3476d0902ef6',
'component': 'ak-provider-oauth2-form',
'invalidation_flow': None,
'meta_model_name': 'authentik_providers_oauth2.oauth2provider',
'name': 'test',
'pk': 189,
'property_mappings': [],
'verbose_name': 'OAuth2/OpenID Provider',
'verbose_name_plural': 'OAuth2/OpenID '
'Providers'},
- 'slug': 'allowed'}]}
? ^^
+ 'slug': 'allowed'},
? ^
+ {'backchannel_providers': [],
+ 'backchannel_providers_obj': [],
+ 'group': '',
+ 'launch_url': None,
+ 'meta_description': '',
+ 'meta_icon': None,
+ 'meta_launch_url': '',
+ 'meta_publisher': '',
+ 'name': 'denied',
+ 'open_in_new_tab': False,
+ 'pk': 'f63f90c8-d51b-42dd-9a02-ad609c17e7eb',
+ 'policy_engine_mode': 'any',
+ 'provider': None,
+ 'provider_obj': None,
+ 'slug': 'denied'}]}
|
run unittest
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading