Skip to content

Commit

Permalink
Additional spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-fenton-octopus committed Oct 2, 2023
1 parent 16a16ec commit 2de18b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It's also possible to enable tenanted deployments when [connecting a tenant to a

## Tenanted and Untenanted deployments {#tenanted-and-untenanted-deployments}

On the deployment screen, if you you choose **Tenanted** from the **Tenants** option, you are performing a [**tenanted deployment**](https://octopus.com/use-case/tenanted-deployments) - deploying a release of a project to an environment for one or more tenants.
On the deployment screen, if you choose **Tenanted** from the **Tenants** option, you are performing a [**tenanted deployment**](https://octopus.com/use-case/tenanted-deployments) - deploying a release of a project to an environment for one or more tenants.

:::figure
![](/docs/tenants/tenant-creation/images/multi-tenant-deploy-to-tenants.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ static System.Collections.Generic.List<Permission> GetUserPermission (SpaceResou
var newPermission = new Permission();
newPermission.DisplayName = User.DisplayName;
newPermission.UserId = User.Id;
newPermission.IncludScope = IncludeScope;
newPermission.IncludeScope = IncludeScope;

if (IncludeScope)
{
Expand Down Expand Up @@ -1420,7 +1420,7 @@ static void WritePermissionList (string PermissionName, System.Collections.Gener
row.Add(PermissionName);
row.Add(permissionScope.DisplayName);

if (permissionScope.IncludScope == false)
if (permissionScope.IncludeScope == false)
{
row.Add("N/A");
row.Add("N/A");
Expand Down Expand Up @@ -1523,7 +1523,7 @@ foreach (var spaceName in spaceList)

if ((scopedRole.ProjectIds.Count > 0) && (!scopedRole.ProjectIds.Contains(project.Id) && scopedRole.ProjectGroupIds.Count == 0))
{
Console.WriteLine(string.Format("The scoped role is associates wiht projects, but not {0}, moving on to next role", project.Name));
Console.WriteLine(string.Format("The scoped role is associates with projects, but not {0}, moving on to next role", project.Name));
continue;
}

Expand Down Expand Up @@ -1731,7 +1731,7 @@ def get_user_permission (space, project, user_role, project_permission_list, per
existing_item = next((x for x in existing_permission['Tenants'] if x['Id'] == item['Id']), None)

if existing_item == None:
print ('{0} is not yet scoped to the tenant {1}, adding it.'.format(user['DisplayNane'], item['Name']))
print ('{0} is not yet scoped to the tenant {1}, adding it.'.format(user['DisplayName'], item['Name']))
existing_permission['Tenants'] += item

return project_permission_list
Expand Down

0 comments on commit 2de18b1

Please sign in to comment.