1. to compose or draft (an edict, proclamation, etc.).
2. to put (a literary work, etc.) into appropriate form for publication; edit.
These are the definitions given in the Collins English Dictionary for "redact". If you have ever seen an official document from government that has been redacted you will know it because usually words, sentences or paragraphs are blacked out as unsuitable for common consumption for security reasons.