case 3613
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user