case 3613

This commit is contained in:
2019-02-14 17:49:59 +00:00
parent 2de222c927
commit d663d0aa3a
2 changed files with 3 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ namespace AyaNova.PlugIn.ClientRemover
public bool CommandSelectedForList(string commandKey, RootObjectTypes objectType, List<Guid> objectIDList, object listObject)
{
if (!User.CurrentUserIsAnAdministrator)
if (!User.IsAdmin)//case 3613
{
MessageBox.Show("This action can only be done by the AyaNova Administrator account");
return false;
@@ -138,7 +138,7 @@ namespace AyaNova.PlugIn.ClientRemover
public void CommandSelectedForSingleObject(string commandKey, RootObjectTypes objectType, object ayaNovaObject)
{
if (!User.CurrentUserIsAnAdministrator)
if (!User.IsAdmin)
{
MessageBox.Show("This action can only be done by the AyaNova Administrator account");
return;