anchor.diff:  		if ((!active_record) || (menu < 3))
   			return
   		if (menu == 3) //If we are viewing a record, confirm deletion
  -			temp = "Delete record?"
  -			menu = 4
  -			playsound(src, 'sound/machines/terminal_prompt.ogg', 50, 0)
  +			var/has_access = FALSE
  +			if(ishuman(usr))
  +				var/mob/living/carbon/human/user = usr
  +				var/obj/item/card/id/C = user.get_idcard(TRUE)
  +				if(C)
  +					if(check_access(C))
  +						has_access = TRUE
  +			if(has_access)
  +				temp = "Delete record?"
  +				menu = 4
  +				playsound(src, 'sound/machines/terminal_prompt.ogg', 50, 0)
  +			else
  +				temp = "Access Denied"
  +				menu = 2 
  +				playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 50, 0)
  +				
   
   		else if (menu == 4)
   			temp = "[active_record.fields["name"]] => Record deleted."
  
positive.code: 
  		spawn(20)
  			scan_occupant(scanner.occupant)
  
  			loading = FALSE
  			updateUsrDialog()
  			playsound(src, 'sound/machines/terminal_prompt_confirm.ogg', 50, 0)
  
negative.code: 		if(4)
  			if (!active_record)
  				menu = 2
  				ui_interact(user)
  				return
  			dat += "<b><a href='byond://?src=[REF(src)];del_rec=1'>Please confirm.</a></b><br>"
  			dat += "<b><a href='byond://?src=[REF(src)];menu=3'>Cancel</a></b>"
  
  	var/datum/browser/popup = new(user, "cloning", "Cloning System Control")
  	popup.set_content(dat)
  