root: RBAC permission cleanup #27298
Annotations
3 errors and 1 warning
run tests:
authentik/core/tests/test_applications_api.py#L58
TestApplicationsAPI.test_list_superuser_full_list
AssertionError: {'pag[209 chars]d', 'provider': 144, 'provider_obj': {'pk': 14[748 chars]''}]} != {'pag[209 chars]d', 'group': '', 'provider': 144, '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/sjbI5oeZVFmciH53TIoE',
'meta_description': '',
'meta_icon': None,
'meta_launch_url': 'https://goauthentik.io/%(username)s',
'meta_publisher': '',
'name': 'allowed',
'open_in_new_tab': True,
'pk': 'd0269e4d-b9b9-44e7-b4be-aafd107898d8',
'policy_engine_mode': 'any',
'provider': 144,
'provider_obj': {'assigned_application_name': 'allowed',
'assigned_application_slug': 'allowed',
'authentication_flow': None,
'authorization_flow': '6daf90f8-d09f-435d-85dd-6abca91952ef',
'component': 'ak-provider-oauth2-form',
'invalidation_flow': None,
'meta_model_name': 'authentik_providers_oauth2.oauth2provider',
'name': 'test',
'pk': 144,
'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': 'c6164c5a-0e54-4146-9930-4f8bc7ce1192',
+ 'policy_engine_mode': 'any',
+ 'provider': None,
+ 'provider_obj': None,
+ 'slug': 'denied'}]}
|
run tests:
authentik/enterprise/providers/rac/tests/test_endpoints_api.py#L58
TestEndpointsAPI.test_list_superuser_full_list
AssertionError: {'pag[587 chars]I', 'verbose_name': 'RAC Provider', 'verbose_n[457 chars] 1}]} != {'pag[587 chars]I', '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': 'xBPu5DbzaIV4h4Widd9R87xdPc3TcvrJbFIG5TfM',
'launch_url': '/application/rac/xHeL37L2c1iCwiLPbedNkTyAcREWPRI9rXd1E3Zx/0aaf5ee2-2552-4787-981d-4100d4738b8c/',
'maximum_connections': 1,
'name': 'a-reTk8zL30G7iUpay07pU3kRULwggmwHtzrRKnEsB',
'pk': '0aaf5ee2-2552-4787-981d-4100d4738b8c',
'property_mappings': [],
'protocol': 'rdp',
'provider': 171,
'provider_obj': {'assigned_application_name': 'YSIBQRFASJxuzhGp9MPS9f0u9MAaC663P1zSmeGI',
'assigned_application_slug': 'xHeL37L2c1iCwiLPbedNkTyAcREWPRI9rXd1E3Zx',
'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': 'HP28c9gIvm0X1l6icZjjSTGOGiLtVFu1fioCJt86',
'outpost_set': [],
'pk': 171,
'property_mappings': [],
'settings': {},
'verbose_name': 'RAC Provider',
'verbose_name_plural': 'RAC Providers'},
+ 'settings': {}},
+ {'auth_mode': '',
+ 'host': 'qLErM77OYFP5gyhM3y0G4iC5DbuNZjP1ZilrwvLH',
+ 'launch_url': '/application/rac/xHeL37L2c1iCwiLPbedNkTyAcREWPRI9rXd1E3Zx/4635ee92-9572-4e11-ae69-509397eb9940/',
+ 'maximum_connections': 1,
+ 'name': 'b-a52jbodxqc0VjAlMO2i2Zn6IR7Fak31kqBZ5Ehfc',
+ 'pk': '4635ee92-9572-4e11-ae69-509397eb9940',
+ 'property_mappings': [],
+ 'protocol': 'rdp',
+ 'provider': 171,
+ 'provider_obj': {'assigned_application_name': 'YSIBQRFASJxuzhGp9MPS9f0u9MAaC663P1zSmeGI',
+ 'assigned_application_slug': 'xHeL37L2c1iCwiLPbedNkTyAcREWPRI9rXd1E3Zx',
+ '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': 'HP28c9gIvm0X1l6icZjjSTGOGiLtVFu1fioCJt86',
+ 'outpost_set': [],
+ 'pk': 171,
+ 'property_mappings': [],
+ 'settings': {},
+ 'verbose_name': 'RAC Provider',
+ 'verbose_name_plural': 'RAC Providers'},
'settings': {}}]}
|
run tests
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