refactor: reorg group strings
This commit is contained in:
14 files changed
+34
-27
No files matched your search
@@ -9,7 +9,7 @@
|
||||
>
|
||||
|
||||
<form.actions
|
||||
@submitText={{t "actions.add-members"}}
|
||||
@submitText={{t "resources.group.actions.add-members"}}
|
||||
@cancelText={{t "actions.cancel"}} />
|
||||
|
||||
<Rose::Table as |table|>
|
||||
|
||||
@@ -13,6 +13,6 @@ export default class ScopesScopeGroupsController extends Controller {
|
||||
* @type {string}
|
||||
*/
|
||||
get breadCrumb() {
|
||||
return this.intl.t('resources.groups');
|
||||
return this.intl.t('resources.group.title_plural');
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,6 @@ export default class ScopesScopeGroupsGroupAddMembersController extends Controll
|
||||
* @type {string}
|
||||
*/
|
||||
get breadCrumb() {
|
||||
return this.intl.t('actions.add-members');
|
||||
return this.intl.t('resources.group.messages.add-members.title');
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
{{t "resources.users"}}
|
||||
</nav.link>
|
||||
<nav.link @route="scopes.scope.groups">
|
||||
{{t "resources.groups"}}
|
||||
{{t "resources.group.title_plural"}}
|
||||
</nav.link>
|
||||
<nav.link @route="scopes.scope.roles">
|
||||
{{t "resources.roles"}}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{{title (t "resources.groups")}}
|
||||
{{title (t "resources.group.title_plural")}}
|
||||
|
||||
{{outlet}}
|
||||
@@ -1,6 +1,6 @@
|
||||
<Rose::Dropdown @text="{{t 'actions.manage'}}" @dropdownRight={{true}} as |dropdown|>
|
||||
<dropdown.link @route="scopes.scope.groups.group.add-members">
|
||||
{{t "actions.add-members"}}
|
||||
{{t "resources.group.actions.add-members"}}
|
||||
</dropdown.link>
|
||||
<dropdown.button
|
||||
@style="danger"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<h2>{{t "resources.group"}}</h2>
|
||||
<p>{{t "resources.descriptions.group"}}</p>
|
||||
<h2>{{t "resources.group.title"}}</h2>
|
||||
<p>{{t "resources.group.description"}}</p>
|
||||
@@ -3,6 +3,6 @@
|
||||
{{t 'titles.details'}}
|
||||
</nav.link>
|
||||
<nav.link @route='scopes.scope.groups.group.members'>
|
||||
{{t 'titles.members'}}
|
||||
{{t 'resources.group.messages.members.title'}}
|
||||
</nav.link>
|
||||
</Rose::Nav::Tabs>
|
||||
@@ -1,4 +1,4 @@
|
||||
{{title (t "actions.add-members")}}
|
||||
{{title (t "resources.group.messages.add-members.title")}}
|
||||
|
||||
<Form::Group::AddMembers
|
||||
@model={{@model.group}}
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<h2>{{t "actions.add-members"}}</h2>
|
||||
<h2>{{t "resources.group.messages.add-members.title"}}</h2>
|
||||
<p>{{t "resources.group.messages.add-members.description"}}</p>
|
||||
@@ -1,4 +1,4 @@
|
||||
{{title (t 'titles.members')}}
|
||||
{{title (t 'resources.group.messages.members.title')}}
|
||||
|
||||
{{#if @model.members}}
|
||||
|
||||
@@ -43,9 +43,9 @@
|
||||
{{else}}
|
||||
|
||||
<Rose::Layout::Centered>
|
||||
<Rose::Message @title={{t "titles.group-members-welcome"}} as |message|>
|
||||
<Rose::Message @title={{t "resources.group.messages.members.title"}} as |message|>
|
||||
<message.description>
|
||||
{{t "descriptions.group-members-welcome"}}
|
||||
{{t "resources.group.messages.members.description"}}
|
||||
</message.description>
|
||||
</Rose::Message>
|
||||
</Rose::Layout::Centered>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<h2>{{t "resources.groups"}}</h2>
|
||||
<p>{{t "resources.descriptions.groups"}}</p>
|
||||
<h2>{{t "resources.group.title_plural"}}</h2>
|
||||
<p>{{t "resources.group.description"}}</p>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
@@ -49,9 +49,9 @@
|
||||
{{else}}
|
||||
|
||||
<Rose::Layout::Centered>
|
||||
<Rose::Message @title={{t 'titles.groups-welcome'}} as |message|>
|
||||
<Rose::Message @title={{t 'resources.group.messages.welcome.title'}} as |message|>
|
||||
<message.description>
|
||||
{{t 'descriptions.groups-welcome'}}
|
||||
{{t 'resources.group.description'}}
|
||||
</message.description>
|
||||
<message.link @route="scopes.scope.groups.new">
|
||||
<Rose::Icon @name="plus-circle-outline" />
|
||||
|
||||
@@ -30,7 +30,6 @@ titles:
|
||||
hosts-welcome: Welcome to Hosts
|
||||
users-welcome: Welcome to Users
|
||||
roles-welcome: Welcome to Roles
|
||||
groups-welcome: Welcome to Groups
|
||||
targets-welcome: Create your first Target
|
||||
target-host-sets-welcome: No Host Sets Associated
|
||||
grants: Permissions
|
||||
@@ -44,8 +43,6 @@ titles:
|
||||
no-host-sets-for-target: No Host Sets Available
|
||||
role-principals-welcome: No Principals Associated
|
||||
no-principals-available: No Principals Available
|
||||
members: Members
|
||||
group-members-welcome: Welcome to Members
|
||||
no-available-users: No Users Available
|
||||
actions: Actions
|
||||
descriptions:
|
||||
@@ -58,12 +55,10 @@ descriptions:
|
||||
hosts-welcome: Configure a static host in this host catalog.
|
||||
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.
|
||||
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.
|
||||
no-host-sets-for-target: No host sets are available to add to this target.
|
||||
role-principals-welcome: No principals are available in this role.
|
||||
no-principals-available: Principals are not available for assignment.
|
||||
group-members-welcome: Users belonging to this group appear here.
|
||||
no-available-users: No users are available to add to this group.
|
||||
@@ -29,6 +29,21 @@ auth-method:
|
||||
actions:
|
||||
create: Create Auth Method
|
||||
delete: Delete Auth Method
|
||||
group:
|
||||
title: Group
|
||||
title_plural: Groups
|
||||
description: Groups are collections of users. Groups may be assigned to roles, thereby receiving the role's grants.
|
||||
messages:
|
||||
welcome:
|
||||
title: Welcome to Groups
|
||||
members:
|
||||
title: Members
|
||||
description: Members are the users assigned to a group.
|
||||
add-members:
|
||||
title: Add Members
|
||||
description: Select users to add users to this group.
|
||||
actions:
|
||||
add-members: Add Members
|
||||
session:
|
||||
title: Session
|
||||
title_plural: Sessions
|
||||
@@ -41,8 +56,6 @@ user: User
|
||||
users: Users
|
||||
role: Role
|
||||
roles: Roles
|
||||
group: Group
|
||||
groups: Groups
|
||||
orgs: Orgs
|
||||
org: Org
|
||||
projects: Projects
|
||||
@@ -62,8 +75,6 @@ descriptions:
|
||||
roles: A role is a collection of capabilities granted to any Principal the Role is assigned to. A Role belongs to one and only one Scope. A Role owns zero or more Direct Grants. The lifecycle of a Role is not tied to the lifecycle of any Principal.
|
||||
grants: A grant represents a set of capabilities granted to a role. It couples a set of Actions to either a set of Resource Types or an individual Resource. A Direct Grant belongs exclusively to one and only one Role. However, equivalent Direct Grants may exist across different Roles. A Direct Grant references one or more Actions and either one or more Resource types or one specific Resource. A Direct Grant is deleted when the Role it belongs to is deleted. A Direct Grant is also deleted if it is associated with a specific Resource and that Resource itself is deleted. The lifecycle of a Direct Grant is not tied to the lifecycle of any Action or Resource Type.
|
||||
principals: A principal is any entity which can be assigned capabilities. Principal is abstract. User, Group, and Project are concrete Principals. A Principal can be assigned to zero or more Roles.
|
||||
group: All Users in a Group are granted the capabilities of all Roles the Group is associated with. A Group is deleted when the Scope it belongs to is deleted.
|
||||
groups: Groups are collections of Users used only for access control purposes. A Group is owned by one and only one Scope. A Group can contain zero or more Users. A Group inherits from Principal ("is-a" Principal) allowing it to be associated with zero or more Roles. The lifecycle of a Group is not tied to the lifecycle of any User or Role.
|
||||
org: When an Organization is deleted, all resources owned by it are also deleted.
|
||||
orgs: An Organization is a top-level container, and owns zero to many Projects and zero to many Authentication Methods. An Organization inherits from Scope ("is-a" Scope) allowing it to own zero to many Groups, Roles, Targets, or Host Catalogs. The lifecycle of an Organization is not tied to anything else. A Role at the Organization level can grant permissions at the Project level.
|
||||
project: When a Project is deleted, all resources owned by it are also deleted. The lifecycle of a Project is not tied to any resource it contains.
|
||||
|
||||
Reference in new issue
Block a user