Adding authorization enforcement for edits