refactor: 💡 move auth method resource strings
This commit is contained in:
8 files changed
+23
-20
No files matched your search
@@ -13,6 +13,6 @@ export default class ScopesScopeAuthMethodsController extends Controller {
|
||||
* @type {string}
|
||||
*/
|
||||
get breadCrumb() {
|
||||
return this.intl.t('resources.auth-methods');
|
||||
return this.intl.t('resources.auth-method.title_plural');
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
{{t "resources.roles"}}
|
||||
</nav.link>
|
||||
<nav.link @route="scopes.scope.auth-methods">
|
||||
{{t "resources.auth-methods"}}
|
||||
{{t "resources.auth-method.title_plural"}}
|
||||
</nav.link>
|
||||
</Rose::Nav::Sidebar>
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<h2>{{t "resources.auth-method"}}</h2>
|
||||
<p>{{t "resources.descriptions.auth-method"}}</p>
|
||||
<h2>{{t "resources.auth-method.title"}}</h2>
|
||||
<p>{{t "resources.auth-method.description"}}</p>
|
||||
@@ -1,7 +1,7 @@
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.header>
|
||||
<h2>{{t "resources.auth-methods"}}</h2>
|
||||
<p>{{t "resources.descriptions.auth-methods"}}</p>
|
||||
<h2>{{t "resources.auth-method.title_plural"}}</h2>
|
||||
<p>{{t "resources.auth-method.description"}}</p>
|
||||
</page.header>
|
||||
|
||||
<page.breadcrumbs>
|
||||
@@ -56,9 +56,9 @@
|
||||
{{else}}
|
||||
|
||||
<Rose::Layout::Centered>
|
||||
<Rose::Message @title={{t 'titles.auth-methods-welcome'}} as |message|>
|
||||
<Rose::Message @title={{t 'resources.auth-method.messages.welcome.title'}} as |message|>
|
||||
<message.description>
|
||||
{{t 'descriptions.auth-methods-welcome'}}
|
||||
{{t 'resources.auth-method.messages.welcome.description'}}
|
||||
</message.description>
|
||||
<message.link @route="scopes.scope.auth-methods.new">
|
||||
<Rose::Icon @name="plus-circle-outline" />
|
||||
|
||||
@@ -39,11 +39,11 @@
|
||||
{{#unless @model.authMethods}}
|
||||
<Rose::Layout::Centered>
|
||||
<Rose::Message
|
||||
@title={{t "auth.titles.no-methods"}}
|
||||
@title={{t "resources.auth-method.messages.none.title"}}
|
||||
@icon="alert-circle-outline"
|
||||
as |message|>
|
||||
<message.description>
|
||||
{{t "auth.descriptions.no-methods"}}
|
||||
{{t "resources.auth-method.messages.none.description"}}
|
||||
</message.description>
|
||||
</Rose::Message>
|
||||
</Rose::Layout::Centered>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{#unless @model}}
|
||||
<Rose::Layout::Centered>
|
||||
<Rose::Message
|
||||
@title={{t "auth.titles.no-methods"}}
|
||||
@title={{t "resources.auth-method.messages.none.title"}}
|
||||
@icon="alert-circle-outline"
|
||||
as |message|>
|
||||
<message.description>
|
||||
{{t "auth.descriptions.no-methods"}}
|
||||
{{t "resources.auth-method.messages.none.description"}}
|
||||
</message.description>
|
||||
</Rose::Message>
|
||||
</Rose::Layout::Centered>
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
auth:
|
||||
titles:
|
||||
no-scopes: No Scopes Available
|
||||
no-methods: No Authentication Method
|
||||
descriptions:
|
||||
no-scopes: No scopes were found. To authenticate, ask your administrator to create an scope and grant you access.
|
||||
no-methods: No authentication methods were found for this scope. Switch scopes and try again.
|
||||
choose-org: Choose a scope to authenticate.
|
||||
authenticating-with-org: "You're authenticating with {name}."
|
||||
method-types:
|
||||
@@ -35,7 +33,6 @@ titles:
|
||||
users-welcome: Welcome to Users
|
||||
roles-welcome: Welcome to Roles
|
||||
groups-welcome: Welcome to Groups
|
||||
auth-methods-welcome: Welcome to Auth Methods
|
||||
targets-welcome: Create your first Target
|
||||
target-host-sets-welcome: No Host Sets Associated
|
||||
grants: Permissions
|
||||
@@ -65,7 +62,6 @@ descriptions:
|
||||
users-welcome: Users are authorized to access Boundary.
|
||||
roles-welcome: Roles are collections of capabilities that can be granted to user and/or groups.
|
||||
groups-welcome: Groups are collections of users.
|
||||
auth-methods-welcome: Auth methods are configurations to authenticate users.
|
||||
targets-welcome: Targets provide Users the means to connect to and interact networked services. A Target contains a collection of Hosts and a collection of Credentials.
|
||||
target-host-sets-welcome: Add Host Sets to this target to provide access.
|
||||
no-host-set-hosts: Before associating hosts with this host set, create hosts within the host catalog.
|
||||
|
||||
@@ -10,6 +10,17 @@ account:
|
||||
description: Set a password for the account.
|
||||
types:
|
||||
password: Password
|
||||
auth-method:
|
||||
title: Auth Method
|
||||
title_plural: Auth Methods
|
||||
description: An authentication method is a method configured for an Organization to authenticate Users. An Authentication Method is owned by one and only one Organization.
|
||||
messages:
|
||||
welcome:
|
||||
title: Welcome to Auth Methods
|
||||
description: Auth methods are configurations to authenticate users.
|
||||
none:
|
||||
title: No Authentication Methods
|
||||
description: No authentication methods were found for this scope. Switch scopes and try again.
|
||||
user: User
|
||||
users: Users
|
||||
role: Role
|
||||
@@ -22,8 +33,6 @@ projects: Projects
|
||||
project: Project
|
||||
host-catalog: Host Catalog
|
||||
host-catalogs: Host Catalogs
|
||||
auth-method: Auth Method
|
||||
auth-methods: Auth Methods
|
||||
host-set: Host Set
|
||||
host-sets: Host Sets
|
||||
host: Host
|
||||
@@ -47,8 +56,6 @@ descriptions:
|
||||
projects: A project is a child scope of an organization and is owned by an Organization. A Project inherits from Scope ("is-a" Scope) allowing it to own zero to many Groups, Roles, Targets, or Host Catalogs. A Project also inherits from Principal ("is-a" Principal) allowing it to be associated with zero or more Roles. A Project has no additional relationships beyond those defined in Scope and Principal. A Project is deleted when the Organization it belongs to is deleted.
|
||||
host-catalog: A host catalog is a permission boundary modeled as a container.
|
||||
host-catalogs: A host catalog is a permission boundary modeled as a container.
|
||||
auth-method: An Authentication Method creates and references zero or more Users. An Authentication Method is deleted when the Organization it belongs to is deleted. The lifecycle of an Authentication Method is not tied to the lifecycle of any User.
|
||||
auth-methods: An authentication method is a method configured for an Organization to authenticate Users. An Authentication Method is owned by one and only one Organization.
|
||||
host-set: Host Set is abstract. A Host Set is deleted when the Host Catalog it belongs to is deleted.
|
||||
host-sets: A host set is a resource which provides a subset of Hosts from the set of Hosts of the Host Catalog it belongs to. A Host Set belongs to one and only one Host Catalog. A Host Set can contain zero or more Hosts. A Host Set can be contained by zero or more Targets. The lifecycle of a Host Set is not tied to the lifecycle of any Targets or Hosts.
|
||||
host: Host is abstract. A Host is deleted when the Host Catalog it belongs to is deleted.
|
||||
|
||||
Reference in new issue
Block a user