updated to check permissions in post interface for editing or adding snippets.