added basic permissions for editing posts