modify permission on feed sharing
remove legacy code