aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-11-25 16:49:13 +0200
committerRoy <Roy.mail.net@gmail.com>2022-11-25 16:49:13 +0200
commit810a75cac71a86452d553a5d06f83fca44f9c0a1 (patch)
tree9159765c1da22a51ee74a917cb17d7bf8af7a76b /Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
parent12db705d26e4737bb4b12bd1e1980d473871c121 (diff)
downloadTango-810a75cac71a86452d553a5d06f83fca44f9c0a1.tar.gz
Tango-810a75cac71a86452d553a5d06f83fca44f9c0a1.zip
Fixed issue with RSM module authorization.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
index 0f2316e26..8f11f4dfb 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Tango.BL.Enumerations;
using Tango.FSE.Common;
using Tango.FSE.Common.Navigation;
using Tango.FSE.UI.Views;
@@ -14,7 +15,7 @@ namespace Tango.FSE.UI.ViewModels
{
public override void OnApplicationReady()
{
- if (AuthenticationProvider.CurrentUser.HasPermission(Tango.BL.Enumerations.Permissions.FSE_RunFSE))
+ if (AuthenticationProvider.CurrentUser.HasAnyPermission(Permissions.FSE_RunFSE, Permissions.TwineRSMAccess))
{
//NavigationManager.MenuItems.Add(new NavigationMenuItem(() =>
//{