Skip to content

Commit d975390

Browse files
committed
Fixed permissions and review comments
1 parent 7e8c9e8 commit d975390

File tree

5 files changed

+23
-24
lines changed

5 files changed

+23
-24
lines changed

src/Moryx.Identity.AccessManagement/Extensions/HostExtensions.cs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Moryx.Identity.AccessManagement
1111
{
1212
/// <summary>
13-
/// Extension methods to use setup the MORYX AccessManagement within an Asp.Net Core application
13+
/// Extension methods to use setup the MORYX AccessManagement within an Asp.Net Core application
1414
/// using the created host of the application.
1515
/// </summary>
1616
public static class HostExtensions
@@ -20,7 +20,6 @@ public static class HostExtensions
2020
"Moryx.Runtime.Database.CanSetAndTestConfig",
2121
"Moryx.Runtime.Database.CanCreate",
2222
"Moryx.Runtime.Database.CanErase",
23-
"Moryx.Runtime.Database.CanDumpAndRestore",
2423
"Moryx.Runtime.Database.CanMigrateModel",
2524
"Moryx.Runtime.Database.CanSetup",
2625
"Moryx.Runtime.Modules.CanView",
@@ -56,10 +55,10 @@ public static class HostExtensions
5655
"Moryx.Jobs.CanComplete",
5756
"Moryx.Jobs.CanAbort",
5857
"Moryx.Processes.CanView",
59-
"Moryx.VisualInstruction.CanView",
60-
"Moryx.VisualInstruction.CanComplete",
61-
"Moryx.VisualInstruction.CanAdd",
62-
"Moryx.VisualInstruction.CanClear",
58+
"Moryx.VisualInstructions.CanView",
59+
"Moryx.VisualInstructions.CanComplete",
60+
"Moryx.VisualInstructions.CanAdd",
61+
"Moryx.VisualInstructions.CanClear",
6362
"Moryx.Notifications.CanView",
6463
"Moryx.Notifications.CanAcknowledge",
6564
"Moryx.Orders.CanView",
@@ -71,12 +70,12 @@ public static class HostExtensions
7170
"Moryx.Orders.CanReport",
7271
"Moryx.Orders.CanAdvice",
7372
"Moryx.FactoryMonitor.CanView",
74-
"Moryx.Analytics.CanView",
7573
"Moryx.CommandCenter.CanView",
7674
"Moryx.Skills.CanView",
7775
"Moryx.Skills.CanManage",
7876
"Moryx.Operators.CanView",
79-
"Moryx.Operators.CanManage"
77+
"Moryx.Operators.CanManage",
78+
"Moryx.Launcher.CanViewExternalModules"
8079
];
8180

8281
/// <summary>
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
3+
<PropertyGroup>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Description>ASP.NET Controller for hosting API of Visual Instructions</Description>
6-
<IsPackable>true</IsPackable>
7-
</PropertyGroup>
6+
<IsPackable>true</IsPackable>
7+
</PropertyGroup>
88

9-
<ItemGroup>
10-
<FrameworkReference Include="Microsoft.AspNetCore.App" />
11-
</ItemGroup>
9+
<ItemGroup>
10+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
11+
</ItemGroup>
1212

13-
<ItemGroup>
14-
<ProjectReference Include="..\Moryx.ControlSystem\Moryx.ControlSystem.csproj" />
15-
<ProjectReference Include="..\Moryx.VisualInstructions\Moryx.VisualInstructions.csproj" />
16-
</ItemGroup>
13+
<ItemGroup>
14+
<ProjectReference Include="..\Moryx.ControlSystem\Moryx.ControlSystem.csproj" />
15+
<ProjectReference Include="..\Moryx.VisualInstructions\Moryx.VisualInstructions.csproj" />
16+
</ItemGroup>
1717

1818
</Project>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<app-worker-instructions
22
[clientIdentifier]="clientIdentifier"
3-
class="worker-support-instructions"
3+
class="visual-instructions-instructions"
44
></app-worker-instructions>
55
<button class="configuration hover-button" mat-mini-fab (click)="openConfigDialog()">
66
<span class="material-symbols-outlined">settings</span>
7-
</button>
7+
</button>

src/Moryx/Bindings/TextBindingResolverFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class TextBindingResolverFactory
1414
/// Regex for binding.
1515
/// It matches strings of type "Product.Id", "Recipe" or "Property2".
1616
/// </summary>
17-
private const string BindingRegex = @"\{(?<binding>\w+(\.?\w+(?:\[\w+\])?)*)(?<hasFormat>:(?<format>\w+))?\}";
17+
private const string BindingRegex = @"\{(?<binding>[A-Z]+\w+(\.?[A-Z]+\w+(?:\[\w+\])?)*)(?<hasFormat>:(?<format>\w+))?\}";
1818

1919
/// <summary>
2020
/// Create resolver for this instruction

src/StartProject.Asp/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"profiles": {
33
"StartProject.Asp": {
44
"commandName": "Project",
5-
"dotnetRunMessages": "true",
5+
"dotnetRunMessages": true,
66
"launchBrowser": true,
7-
"applicationUrl": "http://localhost:5002",
7+
"applicationUrl": "http://localhost:5000",
88
"environmentVariables": {
99
"ASPNETCORE_ENVIRONMENT": "Development"
1010
}

0 commit comments

Comments
 (0)