web/admin: fix policies of oauth/saml source not being configurable

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-04 21:03:57 +02:00
parent b2189374e2
commit a66b832154
4 changed files with 104 additions and 70 deletions

View File

@ -50,7 +50,7 @@ msgstr "API Requests"
msgid "API request failed"
msgstr "API request failed"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:97
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:98
msgid "Access Key"
msgstr "Access Key"
@ -269,7 +269,7 @@ msgid "Authorization Code"
msgstr "Authorization Code"
#: src/pages/sources/oauth/OAuthSourceForm.ts:65
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:105
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:106
msgid "Authorization URL"
msgstr "Authorization URL"
@ -364,7 +364,7 @@ msgstr "Cached Flows"
msgid "Cached Policies"
msgstr "Cached Policies"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:89
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:90
msgid "Callback URL"
msgstr "Callback URL"
@ -430,8 +430,8 @@ msgstr "Change your password"
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:146
#: src/pages/providers/saml/SAMLProviderViewPage.ts:140
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:124
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:142
#: src/pages/sources/saml/SAMLSourceViewPage.ts:129
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:143
#: src/pages/sources/saml/SAMLSourceViewPage.ts:130
#: src/pages/users/UserViewPage.ts:177
msgid "Changelog"
msgstr "Changelog"
@ -925,7 +925,7 @@ msgid "Docker URL"
msgstr "Docker URL"
#: src/pages/providers/saml/SAMLProviderViewPage.ts:166
#: src/pages/sources/saml/SAMLSourceViewPage.ts:153
#: src/pages/sources/saml/SAMLSourceViewPage.ts:154
msgid "Download"
msgstr "Download"
@ -951,8 +951,8 @@ msgstr "Each provider has a different issuer, based on the application slug."
#: src/pages/providers/saml/SAMLProviderViewPage.ts:132
#: src/pages/sources/SourcesListPage.ts:79
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:116
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:134
#: src/pages/sources/saml/SAMLSourceViewPage.ts:121
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:135
#: src/pages/sources/saml/SAMLSourceViewPage.ts:122
#: src/pages/stages/StageListPage.ts:98
#: src/pages/stages/prompt/PromptListPage.ts:75
#: src/pages/user-settings/tokens/UserTokenList.ts:113
@ -1024,7 +1024,7 @@ msgid "Enable Time-based OTP"
msgstr "Enable Time-based OTP"
#: src/pages/policies/BoundPoliciesList.ts:36
#: src/pages/policies/PolicyBindingForm.ts:133
#: src/pages/policies/PolicyBindingForm.ts:156
#: src/pages/sources/ldap/LDAPSourceForm.ts:69
#: src/pages/sources/oauth/OAuthSourceForm.ts:113
#: src/pages/sources/saml/SAMLSourceForm.ts:69
@ -1336,7 +1336,7 @@ msgstr "Go to previous page"
#: src/pages/events/RuleForm.ts:65
#: src/pages/groups/GroupListPage.ts:75
#: src/pages/policies/PolicyBindingForm.ts:99
#: src/pages/policies/PolicyBindingForm.ts:122
#: src/pages/stages/StageListPage.ts:103
msgid "Group"
msgstr "Group"
@ -1511,7 +1511,7 @@ msgstr "Is superuser"
#: src/pages/providers/saml/SAMLProviderForm.ts:88
#: src/pages/providers/saml/SAMLProviderViewPage.ts:111
#: src/pages/sources/saml/SAMLSourceForm.ts:93
#: src/pages/sources/saml/SAMLSourceViewPage.ts:100
#: src/pages/sources/saml/SAMLSourceViewPage.ts:101
msgid "Issuer"
msgstr "Issuer"
@ -1612,9 +1612,9 @@ msgstr "Loading"
#: src/pages/outposts/OutpostForm.ts:96
#: src/pages/outposts/ServiceConnectionDockerForm.ts:87
#: src/pages/outposts/ServiceConnectionDockerForm.ts:104
#: src/pages/policies/PolicyBindingForm.ts:95
#: src/pages/policies/PolicyBindingForm.ts:110
#: src/pages/policies/PolicyBindingForm.ts:125
#: src/pages/policies/PolicyBindingForm.ts:118
#: src/pages/policies/PolicyBindingForm.ts:133
#: src/pages/policies/PolicyBindingForm.ts:148
#: src/pages/policies/PolicyTestForm.ts:70
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103
@ -1712,7 +1712,7 @@ msgstr "Messages"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:158
#: src/pages/providers/saml/SAMLProviderImportForm.ts:61
#: src/pages/providers/saml/SAMLProviderViewPage.ts:152
#: src/pages/sources/saml/SAMLSourceViewPage.ts:140
#: src/pages/sources/saml/SAMLSourceViewPage.ts:141
msgid "Metadata"
msgstr "Metadata"
@ -1789,9 +1789,9 @@ msgstr "Monitor"
#: src/pages/sources/ldap/LDAPSourceForm.ts:54
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:75
#: src/pages/sources/oauth/OAuthSourceForm.ts:98
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:73
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:74
#: src/pages/sources/saml/SAMLSourceForm.ts:54
#: src/pages/sources/saml/SAMLSourceViewPage.ts:76
#: src/pages/sources/saml/SAMLSourceViewPage.ts:77
#: src/pages/stages/StageListPage.ts:65
#: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:54
#: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:53
@ -1977,7 +1977,7 @@ msgstr "OAuth Provider {0}"
msgid "OAuth Refresh Codes"
msgstr "OAuth Refresh Codes"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:42
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:43
msgid "OAuth Source {0}"
msgstr "OAuth Source {0}"
@ -2058,7 +2058,7 @@ msgstr "Optionally set the 'FriendlyName' value of the Assertion attribute."
#: src/pages/flows/BoundStagesList.ts:38
#: src/pages/flows/StageBindingForm.ts:128
#: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/policies/PolicyBindingForm.ts:138
#: src/pages/policies/PolicyBindingForm.ts:161
#: src/pages/stages/prompt/PromptForm.ts:119
#: src/pages/stages/prompt/PromptListPage.ts:49
msgid "Order"
@ -2095,8 +2095,8 @@ msgstr "Outposts are deployments of authentik components to support different en
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:67
#: src/pages/providers/saml/SAMLProviderViewPage.ts:69
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:67
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:65
#: src/pages/sources/saml/SAMLSourceViewPage.ts:68
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:66
#: src/pages/sources/saml/SAMLSourceViewPage.ts:69
#: src/pages/users/UserViewPage.ts:74
msgid "Overview"
msgstr "Overview"
@ -2160,7 +2160,7 @@ msgstr "Policies"
msgid "Policies without binding exist."
msgstr "Policies without binding exist."
#: src/pages/policies/PolicyBindingForm.ts:87
#: src/pages/policies/PolicyBindingForm.ts:110
#: src/pages/policies/PolicyListPage.ts:108
msgid "Policy"
msgstr "Policy"
@ -2171,6 +2171,8 @@ msgstr "Policy / User / Group"
#: src/pages/applications/ApplicationViewPage.ts:133
#: src/pages/flows/FlowViewPage.ts:104
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:154
#: src/pages/sources/saml/SAMLSourceViewPage.ts:161
msgid "Policy Bindings"
msgstr "Policy Bindings"
@ -2288,7 +2290,7 @@ msgid "Provider"
msgstr "Provider"
#: src/pages/applications/ApplicationListPage.ts:60
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:81
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:82
msgid "Provider Type"
msgstr "Provider Type"
@ -2467,7 +2469,7 @@ msgstr "SAML Attribute Name"
msgid "SAML Provider {0}"
msgstr "SAML Provider {0}"
#: src/pages/sources/saml/SAMLSourceViewPage.ts:45
#: src/pages/sources/saml/SAMLSourceViewPage.ts:46
msgid "SAML Source {0}"
msgstr "SAML Source {0}"
@ -2492,7 +2494,7 @@ msgid "SHA512"
msgstr "SHA512"
#: src/pages/sources/saml/SAMLSourceForm.ts:87
#: src/pages/sources/saml/SAMLSourceViewPage.ts:92
#: src/pages/sources/saml/SAMLSourceViewPage.ts:93
msgid "SLO URL"
msgstr "SLO URL"
@ -2513,7 +2515,7 @@ msgid "SMTP Username"
msgstr "SMTP Username"
#: src/pages/sources/saml/SAMLSourceForm.ts:80
#: src/pages/sources/saml/SAMLSourceViewPage.ts:84
#: src/pages/sources/saml/SAMLSourceViewPage.ts:85
msgid "SSO URL"
msgstr "SSO URL"
@ -2813,7 +2815,7 @@ msgid "Successfully created application."
msgstr "Successfully created application."
#: src/pages/flows/StageBindingForm.ts:39
#: src/pages/policies/PolicyBindingForm.ts:48
#: src/pages/policies/PolicyBindingForm.ts:49
msgid "Successfully created binding."
msgstr "Successfully created binding."
@ -2941,7 +2943,7 @@ msgid "Successfully updated application."
msgstr "Successfully updated application."
#: src/pages/flows/StageBindingForm.ts:36
#: src/pages/policies/PolicyBindingForm.ts:45
#: src/pages/policies/PolicyBindingForm.ts:46
msgid "Successfully updated binding."
msgstr "Successfully updated binding."
@ -3163,6 +3165,11 @@ msgstr "These policies control which users can access this application."
msgid "These policies control which users can access this flow."
msgstr "These policies control which users can access this flow."
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:156
#: src/pages/sources/saml/SAMLSourceViewPage.ts:163
msgid "These policies control which users can access this source."
msgstr "These policies control which users can access this source."
#: src/pages/policies/reputation/ReputationPolicyForm.ts:89
msgid "Threshold"
msgstr "Threshold"
@ -3180,7 +3187,7 @@ msgid "Time-based One-Time Passwords"
msgstr "Time-based One-Time Passwords"
#: src/pages/policies/BoundPoliciesList.ts:38
#: src/pages/policies/PolicyBindingForm.ts:144
#: src/pages/policies/PolicyBindingForm.ts:167
#: src/pages/stages/email/EmailStageForm.ts:103
msgid "Timeout"
msgstr "Timeout"
@ -3195,7 +3202,7 @@ msgid "Token"
msgstr "Token"
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:185
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:113
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:114
msgid "Token URL"
msgstr "Token URL"
@ -3317,8 +3324,8 @@ msgstr "Up-to-date!"
#: src/pages/providers/saml/SAMLProviderViewPage.ts:122
#: src/pages/sources/SourcesListPage.ts:66
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:106
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:124
#: src/pages/sources/saml/SAMLSourceViewPage.ts:111
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:125
#: src/pages/sources/saml/SAMLSourceViewPage.ts:112
#: src/pages/stages/StageListPage.ts:85
#: src/pages/stages/prompt/PromptListPage.ts:67
#: src/pages/user-settings/UserDetailsPage.ts:81
@ -3366,7 +3373,7 @@ msgstr "Update Notification Rule"
msgid "Update Notification Transport"
msgstr "Update Notification Transport"
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:127
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:128
msgid "Update OAuth Source"
msgstr "Update OAuth Source"
@ -3390,7 +3397,7 @@ msgstr "Update Proxy Provider"
msgid "Update SAML Provider"
msgstr "Update SAML Provider"
#: src/pages/sources/saml/SAMLSourceViewPage.ts:114
#: src/pages/sources/saml/SAMLSourceViewPage.ts:115
msgid "Update SAML Source"
msgstr "Update SAML Source"
@ -3447,7 +3454,7 @@ msgstr "Use global settings"
#: src/elements/events/ObjectChangelog.ts:39
#: src/pages/events/EventInfo.ts:83
#: src/pages/events/EventListPage.ts:44
#: src/pages/policies/PolicyBindingForm.ts:114
#: src/pages/policies/PolicyBindingForm.ts:137
#: src/pages/policies/PolicyTestForm.ts:60
#: src/pages/property-mappings/PropertyMappingTestForm.ts:49
#: src/pages/tokens/TokenListPage.ts:45

View File

@ -50,7 +50,7 @@ msgstr ""
msgid "API request failed"
msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:97
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:98
msgid "Access Key"
msgstr ""
@ -265,7 +265,7 @@ msgid "Authorization Code"
msgstr ""
#: src/pages/sources/oauth/OAuthSourceForm.ts:65
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:105
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:106
msgid "Authorization URL"
msgstr ""
@ -360,7 +360,7 @@ msgstr ""
msgid "Cached Policies"
msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:89
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:90
msgid "Callback URL"
msgstr ""
@ -426,8 +426,8 @@ msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:146
#: src/pages/providers/saml/SAMLProviderViewPage.ts:140
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:124
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:142
#: src/pages/sources/saml/SAMLSourceViewPage.ts:129
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:143
#: src/pages/sources/saml/SAMLSourceViewPage.ts:130
#: src/pages/users/UserViewPage.ts:177
msgid "Changelog"
msgstr ""
@ -921,7 +921,7 @@ msgid "Docker URL"
msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:166
#: src/pages/sources/saml/SAMLSourceViewPage.ts:153
#: src/pages/sources/saml/SAMLSourceViewPage.ts:154
msgid "Download"
msgstr ""
@ -947,8 +947,8 @@ msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:132
#: src/pages/sources/SourcesListPage.ts:79
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:116
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:134
#: src/pages/sources/saml/SAMLSourceViewPage.ts:121
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:135
#: src/pages/sources/saml/SAMLSourceViewPage.ts:122
#: src/pages/stages/StageListPage.ts:98
#: src/pages/stages/prompt/PromptListPage.ts:75
#: src/pages/user-settings/tokens/UserTokenList.ts:113
@ -1020,7 +1020,7 @@ msgid "Enable Time-based OTP"
msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:36
#: src/pages/policies/PolicyBindingForm.ts:133
#: src/pages/policies/PolicyBindingForm.ts:156
#: src/pages/sources/ldap/LDAPSourceForm.ts:69
#: src/pages/sources/oauth/OAuthSourceForm.ts:113
#: src/pages/sources/saml/SAMLSourceForm.ts:69
@ -1332,7 +1332,7 @@ msgstr ""
#: src/pages/events/RuleForm.ts:65
#: src/pages/groups/GroupListPage.ts:75
#: src/pages/policies/PolicyBindingForm.ts:99
#: src/pages/policies/PolicyBindingForm.ts:122
#: src/pages/stages/StageListPage.ts:103
msgid "Group"
msgstr ""
@ -1507,7 +1507,7 @@ msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:88
#: src/pages/providers/saml/SAMLProviderViewPage.ts:111
#: src/pages/sources/saml/SAMLSourceForm.ts:93
#: src/pages/sources/saml/SAMLSourceViewPage.ts:100
#: src/pages/sources/saml/SAMLSourceViewPage.ts:101
msgid "Issuer"
msgstr ""
@ -1608,9 +1608,9 @@ msgstr ""
#: src/pages/outposts/OutpostForm.ts:96
#: src/pages/outposts/ServiceConnectionDockerForm.ts:87
#: src/pages/outposts/ServiceConnectionDockerForm.ts:104
#: src/pages/policies/PolicyBindingForm.ts:95
#: src/pages/policies/PolicyBindingForm.ts:110
#: src/pages/policies/PolicyBindingForm.ts:125
#: src/pages/policies/PolicyBindingForm.ts:118
#: src/pages/policies/PolicyBindingForm.ts:133
#: src/pages/policies/PolicyBindingForm.ts:148
#: src/pages/policies/PolicyTestForm.ts:70
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103
@ -1708,7 +1708,7 @@ msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:158
#: src/pages/providers/saml/SAMLProviderImportForm.ts:61
#: src/pages/providers/saml/SAMLProviderViewPage.ts:152
#: src/pages/sources/saml/SAMLSourceViewPage.ts:140
#: src/pages/sources/saml/SAMLSourceViewPage.ts:141
msgid "Metadata"
msgstr ""
@ -1785,9 +1785,9 @@ msgstr ""
#: src/pages/sources/ldap/LDAPSourceForm.ts:54
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:75
#: src/pages/sources/oauth/OAuthSourceForm.ts:98
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:73
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:74
#: src/pages/sources/saml/SAMLSourceForm.ts:54
#: src/pages/sources/saml/SAMLSourceViewPage.ts:76
#: src/pages/sources/saml/SAMLSourceViewPage.ts:77
#: src/pages/stages/StageListPage.ts:65
#: src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts:54
#: src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts:53
@ -1973,7 +1973,7 @@ msgstr ""
msgid "OAuth Refresh Codes"
msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:42
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:43
msgid "OAuth Source {0}"
msgstr ""
@ -2054,7 +2054,7 @@ msgstr ""
#: src/pages/flows/BoundStagesList.ts:38
#: src/pages/flows/StageBindingForm.ts:128
#: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/policies/PolicyBindingForm.ts:138
#: src/pages/policies/PolicyBindingForm.ts:161
#: src/pages/stages/prompt/PromptForm.ts:119
#: src/pages/stages/prompt/PromptListPage.ts:49
msgid "Order"
@ -2091,8 +2091,8 @@ msgstr ""
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:67
#: src/pages/providers/saml/SAMLProviderViewPage.ts:69
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:67
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:65
#: src/pages/sources/saml/SAMLSourceViewPage.ts:68
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:66
#: src/pages/sources/saml/SAMLSourceViewPage.ts:69
#: src/pages/users/UserViewPage.ts:74
msgid "Overview"
msgstr ""
@ -2156,7 +2156,7 @@ msgstr ""
msgid "Policies without binding exist."
msgstr ""
#: src/pages/policies/PolicyBindingForm.ts:87
#: src/pages/policies/PolicyBindingForm.ts:110
#: src/pages/policies/PolicyListPage.ts:108
msgid "Policy"
msgstr ""
@ -2167,6 +2167,8 @@ msgstr ""
#: src/pages/applications/ApplicationViewPage.ts:133
#: src/pages/flows/FlowViewPage.ts:104
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:154
#: src/pages/sources/saml/SAMLSourceViewPage.ts:161
msgid "Policy Bindings"
msgstr ""
@ -2284,7 +2286,7 @@ msgid "Provider"
msgstr ""
#: src/pages/applications/ApplicationListPage.ts:60
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:81
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:82
msgid "Provider Type"
msgstr ""
@ -2463,7 +2465,7 @@ msgstr ""
msgid "SAML Provider {0}"
msgstr ""
#: src/pages/sources/saml/SAMLSourceViewPage.ts:45
#: src/pages/sources/saml/SAMLSourceViewPage.ts:46
msgid "SAML Source {0}"
msgstr ""
@ -2488,7 +2490,7 @@ msgid "SHA512"
msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:87
#: src/pages/sources/saml/SAMLSourceViewPage.ts:92
#: src/pages/sources/saml/SAMLSourceViewPage.ts:93
msgid "SLO URL"
msgstr ""
@ -2509,7 +2511,7 @@ msgid "SMTP Username"
msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:80
#: src/pages/sources/saml/SAMLSourceViewPage.ts:84
#: src/pages/sources/saml/SAMLSourceViewPage.ts:85
msgid "SSO URL"
msgstr ""
@ -2809,7 +2811,7 @@ msgid "Successfully created application."
msgstr ""
#: src/pages/flows/StageBindingForm.ts:39
#: src/pages/policies/PolicyBindingForm.ts:48
#: src/pages/policies/PolicyBindingForm.ts:49
msgid "Successfully created binding."
msgstr ""
@ -2937,7 +2939,7 @@ msgid "Successfully updated application."
msgstr ""
#: src/pages/flows/StageBindingForm.ts:36
#: src/pages/policies/PolicyBindingForm.ts:45
#: src/pages/policies/PolicyBindingForm.ts:46
msgid "Successfully updated binding."
msgstr ""
@ -3157,6 +3159,11 @@ msgstr ""
msgid "These policies control which users can access this flow."
msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:156
#: src/pages/sources/saml/SAMLSourceViewPage.ts:163
msgid "These policies control which users can access this source."
msgstr ""
#: src/pages/policies/reputation/ReputationPolicyForm.ts:89
msgid "Threshold"
msgstr ""
@ -3174,7 +3181,7 @@ msgid "Time-based One-Time Passwords"
msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:38
#: src/pages/policies/PolicyBindingForm.ts:144
#: src/pages/policies/PolicyBindingForm.ts:167
#: src/pages/stages/email/EmailStageForm.ts:103
msgid "Timeout"
msgstr ""
@ -3189,7 +3196,7 @@ msgid "Token"
msgstr ""
#: src/pages/providers/oauth2/OAuth2ProviderViewPage.ts:185
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:113
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:114
msgid "Token URL"
msgstr ""
@ -3311,8 +3318,8 @@ msgstr ""
#: src/pages/providers/saml/SAMLProviderViewPage.ts:122
#: src/pages/sources/SourcesListPage.ts:66
#: src/pages/sources/ldap/LDAPSourceViewPage.ts:106
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:124
#: src/pages/sources/saml/SAMLSourceViewPage.ts:111
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:125
#: src/pages/sources/saml/SAMLSourceViewPage.ts:112
#: src/pages/stages/StageListPage.ts:85
#: src/pages/stages/prompt/PromptListPage.ts:67
#: src/pages/user-settings/UserDetailsPage.ts:81
@ -3360,7 +3367,7 @@ msgstr ""
msgid "Update Notification Transport"
msgstr ""
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:127
#: src/pages/sources/oauth/OAuthSourceViewPage.ts:128
msgid "Update OAuth Source"
msgstr ""
@ -3384,7 +3391,7 @@ msgstr ""
msgid "Update SAML Provider"
msgstr ""
#: src/pages/sources/saml/SAMLSourceViewPage.ts:114
#: src/pages/sources/saml/SAMLSourceViewPage.ts:115
msgid "Update SAML Source"
msgstr ""
@ -3441,7 +3448,7 @@ msgstr ""
#: src/elements/events/ObjectChangelog.ts:39
#: src/pages/events/EventInfo.ts:83
#: src/pages/events/EventListPage.ts:44
#: src/pages/policies/PolicyBindingForm.ts:114
#: src/pages/policies/PolicyBindingForm.ts:137
#: src/pages/policies/PolicyTestForm.ts:60
#: src/pages/property-mappings/PropertyMappingTestForm.ts:49
#: src/pages/tokens/TokenListPage.ts:45

View File

@ -18,6 +18,7 @@ import "../../../elements/CodeMirror";
import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog";
import "../../../elements/forms/ModalForm";
import "../../policies/BoundPoliciesList";
import "./OAuthSourceForm";
import { Page } from "../../../elements/Page";
import { OAuthSource, SourcesApi } from "authentik-api";
@ -153,6 +154,15 @@ export class OAuthSourceViewPage extends Page {
</div>
</div>
</section>
<div slot="page-3" data-tab-title="${t`Policy Bindings`}" class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-c-card">
<div class="pf-c-card__title">${t`These policies control which users can access this source.`}</div>
<div class="pf-c-card__body">
<ak-bound-policies-list .target=${this.source.pk}>
</ak-bound-policies-list>
</div>
</div>
</div>
</ak-tabs>`;
}
}

View File

@ -19,6 +19,7 @@ import "../../../elements/CodeMirror";
import "../../../elements/Tabs";
import "../../../elements/events/ObjectChangelog";
import "../../../elements/forms/ModalForm";
import "../../policies/BoundPoliciesList";
import "./SAMLSourceForm";
import { Page } from "../../../elements/Page";
import { SAMLSource, SourcesApi } from "authentik-api";
@ -161,6 +162,15 @@ export class SAMLSourceViewPage extends Page {
</div>
</div>
</section>
<div slot="page-4" data-tab-title="${t`Policy Bindings`}" class="pf-c-page__main-section pf-m-no-padding-mobile">
<div class="pf-c-card">
<div class="pf-c-card__title">${t`These policies control which users can access this source.`}</div>
<div class="pf-c-card__body">
<ak-bound-policies-list .target=${this.source.pk}>
</ak-bound-policies-list>
</div>
</div>
</div>
</ak-tabs>`;
}
}