providers/radius: fix custom attribute (#10704)
* providers/radius: fix error when adding custom attribute Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix ldap source property mapping form Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -21,6 +21,7 @@ import {
|
||||
PropertyMappingTestRequest,
|
||||
PropertyMappingTestResult,
|
||||
PropertymappingsApi,
|
||||
RbacPermissionsAssignedByUsersListModelEnum,
|
||||
User,
|
||||
} from "@goauthentik/api";
|
||||
|
||||
@ -67,7 +68,8 @@ export class PolicyTestForm extends Form<PropertyMappingTestRequest> {
|
||||
}
|
||||
|
||||
renderExampleButtons() {
|
||||
return this.mapping?.metaModelName === "authentik_sources_ldap.ldappropertymapping"
|
||||
return this.mapping?.metaModelName ===
|
||||
RbacPermissionsAssignedByUsersListModelEnum.SourcesLdapLdapsourcepropertymapping
|
||||
? html`<p>${msg("Example context data")}</p>
|
||||
${this.renderExampleLDAP()}`
|
||||
: nothing;
|
||||
|
Reference in New Issue
Block a user