From 771b4e6ef1019086c922bd975053bd37a9d23f83 Mon Sep 17 00:00:00 2001 From: zolliker Date: Wed, 7 Sep 2005 14:54:20 +0000 Subject: [PATCH] removed access check for drive (has anyway to be at least user) --- remob.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/remob.c b/remob.c index 29f28a4..a2628c4 100644 --- a/remob.c +++ b/remob.c @@ -50,7 +50,6 @@ struct Remob { RemServer *server; int status; Remob *next; - int access; int markForDel; }; @@ -415,13 +414,6 @@ static long RemobRun(void *self, SConnection *pCon, float fNew) { assert(remob); assert(pCon); - /* check if I'am allowed to drive this object */ - if (remob->access < SCGetRights(pCon)) { - SCPrintf(pCon, eError, "ERROR: You are not authorised to run %s", remob->name); - SCSetInterrupt(pCon,eAbortBatch); - return 0; - } - remob->status = HWIdle; snprintf(buf, sizeof(buf), "run %s %f", remob->name, fNew); iRet = RemTransact(remserver, pCon, buf, "!ERROR: somebody else", "!ERROR: cannot", ">", NULL);