Skip to content

Commit

Permalink
Merge pull request #26 from koechlm/2022.0.3
Browse files Browse the repository at this point in the history
resolved issue #19: iLogic Administration Access blocked on Non-Engli…
  • Loading branch information
koechlm authored Mar 30, 2022
2 parents 484efb0 + ad86fc5 commit e864e52
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 1,800 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,39 +59,39 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Autodesk.Connectivity.Explorer.Extensibility">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Explorer.Extensibility.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Explorer.Extensibility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.Explorer.ExtensibilityTools">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Explorer.ExtensibilityTools.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Explorer.ExtensibilityTools.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.Extensibility.Framework">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Extensibility.Framework.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.Extensibility.Framework.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.JobProcessor.Extensibility">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.JobProcessor.Extensibility.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.JobProcessor.Extensibility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.WebServices">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.WebServices.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.Connectivity.WebServices.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Forms">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Forms.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Forms.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Vault.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Vault.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault.Forms">
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Vault.Forms.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Autodesk Vault 2022 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Vault.Forms.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.iLogic.Interfaces">
Expand All @@ -100,7 +100,7 @@
<Reference Include="Autodesk.Inventor.Interop, Version=26.0.0.0, Culture=neutral, PublicKeyToken=d84147f8b4276564, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>True</EmbedInteropTypes>
<HintPath>..\..\..\OneDrive - autodesk\Vault Customization\Inventor 2022 Bin\Autodesk.Inventor.Interop.dll</HintPath>
<HintPath>..\..\..\..\OneDrive - Autodesk\Vault Customization\SDK References 2022\Inventor 2022 Bin\Autodesk.Inventor.Interop.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand Down
4 changes: 2 additions & 2 deletions Autodesk.VltInvSrv.iLogicSampleJob/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2022.0.2.0")]
[assembly: AssemblyFileVersion("2022.0.2.0")]
[assembly: AssemblyVersion("2022.0.3.0")]
[assembly: AssemblyFileVersion("2022.0.3.0")]
6 changes: 3 additions & 3 deletions Autodesk.VltInvSrv.iLogicSampleJob/iLogicJobAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ public void mQueueiLogicJobCmdHndlr(object s, CommandItemEventArgs e)
public void mJobAdminHndlr(object s, CommandItemEventArgs e)
{
Autodesk.Connectivity.WebServices.Permis[] mAllPermisObjects = e.Context.Application.Connection.WebServiceManager.AdminService.GetPermissionsByUserId(e.Context.Application.Connection.UserID);
List<String> mAllPermissions = new List<string>();
List<long> mAllPermissions = new List<long>();
foreach (var item in mAllPermisObjects)
{
mAllPermissions.Add(item.Descr);
mAllPermissions.Add(item.Id);
}
if (mAllPermissions.Contains("Vault Get Options") && mAllPermissions.Contains("Vault Set Options"))
if (mAllPermissions.Contains(76) && mAllPermissions.Contains(77)) //76 = Vault Set Options; 77 = Vault Get Options
{
mConfigPerm = true;
iLogicJobAdminForm mAdminWindow = new iLogicJobAdminForm();
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ relationship are not supported.

VERSION HISTORY / RELEASE NOTES:
---------------------------------
2022.0.3.x Remove Vault language dependency while validating permissions to administrate iLogic-Jobs.
2022.0.2.x - restrict iLogic Job Administration to Configuration Administrators; track configuration changes and warn user of losing unsaved edits on dialog close;
improved behavior for "Create new file iteration = disabled": avoid check-out instead of undocheckout => allows rule to create new iteration, e.g. attaching export files.
2022.0.0.0 - updated for Vault Client / Job Processor 2022 - Note: Rules re-using the job processor's connection require updating; compare the included sample rule "VaultJobRuleConnected.iLogicVB."
Expand Down
Loading

0 comments on commit e864e52

Please sign in to comment.