CA-147142: ReadOnly user should not be allowed to delete crash dump files

- Made the action PureAsyncAction, so that it automatically checks if the current user can perform all the necessary api calls

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2016-08-15 14:27:43 +01:00
parent c90582a72e
commit b35564cb85

View File

@ -37,7 +37,7 @@ using XenAPI;
namespace XenAdmin.Actions
{
public class DestroyHostCrashDumpAction : AsyncAction
public class DestroyHostCrashDumpAction : PureAsyncAction
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);