Socialist deed, censoring (9)
I believe the answer is:
redaction
'censoring' is the definition.
(I know that redaction is a type of censoring)
'socialist deed' is the wordplay.
'socialist' becomes 'red' (socialism is often associated with the colour red).
'deed' becomes 'action' (I've seen this before).
'red'+'action'='REDACTION'
(Other definitions for redaction that I've seen before include "text version" , "Edited version" , "Amended written account" , "Editing a work" , "that's needed if text is poor" .)