From 2f3a086f2922e1eb4e181140358f369b4f8526bd Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 28 Jan 2021 23:32:47 +0100 Subject: [PATCH] docs: update veeam docs for group mapping --- authentik/providers/saml/tests/test_metadata.py | 6 +++--- .../integrations/services/veeam-enterprise-manager/index.md | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/authentik/providers/saml/tests/test_metadata.py b/authentik/providers/saml/tests/test_metadata.py index 396f3b463..512ffd0e5 100644 --- a/authentik/providers/saml/tests/test_metadata.py +++ b/authentik/providers/saml/tests/test_metadata.py @@ -76,9 +76,9 @@ class TestServiceProviderMetadataParser(TestCase): self.assertEqual(provider.acs_url, "http://localhost:8080/saml/acs") self.assertEqual(provider.issuer, "http://localhost:8080/saml/metadata") self.assertEqual(provider.sp_binding, SAMLBindings.POST) - self.assertQuerysetEqual( - provider.property_mappings, - SAMLPropertyMapping.objects.filter(name__startswith="Autogenerated"), + self.assertEqual( + len(provider.property_mappings.all()), + len(SAMLPropertyMapping.objects.filter(name__startswith="Autogenerated")), ) def test_with_signing_cert(self): diff --git a/website/docs/integrations/services/veeam-enterprise-manager/index.md b/website/docs/integrations/services/veeam-enterprise-manager/index.md index 900169b3b..f709dc03b 100644 --- a/website/docs/integrations/services/veeam-enterprise-manager/index.md +++ b/website/docs/integrations/services/veeam-enterprise-manager/index.md @@ -17,6 +17,8 @@ The following placeholders will be used: - `veeam.company` is the FQDN of the Veeam Enterprise Manager install. - `authentik.company` is the FQDN of the authentik install. +You will need an existing group or multiple in authentik to assign roles in Veeam Enterprise Manager to. + ## In Veeam Enterprise Manager Login to your Veeam Enterprise Manager. Navigate to the Configuration in the top-right. On the left sidebar, select Settings. Select the SAML Authentication tab. @@ -38,3 +40,5 @@ Go back to the Provider sidebar and locate the Veeam Enterprise Manager. Click t ## Finish in Veeam Enterprise Manager Back on Veeam Enterprise Manager, click on "Import from File", and select the XML file that you've downloaded from authentik. Make sure the "Enable SAML 2.0" checkbox is still enabled, and click save. + +To map Veeam Enterprise Manager permissions to an authentik user, you have to create an External Group. In Veeam Enterprise Manager, under Configuration, navigate to Roles. Click the "Add..." button and select "External Group". Type in the name of a group you're member of.