docbrown/spec/services/feeds
Jeremy Friesen 1b337b85d9
Only fetch RSS of users who can create articles (#16766)
* Only fetch RSS of users who can create articles

This commit leverages changes from forem/forem#16732 and
forem/forem#16763 to ensure that we're only fetching RSS feeds for
folks who have permission to create articles.

In addition, I chose to rename the variable `user_scope` to
`users_scope` to bring consistency in the variable names.

I also chose to refactor a private method so that it wasn't setting two
instance variables but was instead returning a value that could be used
to set an instance variable.

Closes forem/forem#16487

* Amending method name
2022-03-04 14:06:38 -05:00
..
assemble_article_markdown_spec.rb Use the rss item's url when handling relative image links (#15497) 2021-12-09 14:08:54 -06:00
clean_html_spec.rb Move HtmlCleaner from app/labor into service (#11609) 2020-11-27 08:21:57 +07:00
import_spec.rb Only fetch RSS of users who can create articles (#16766) 2022-03-04 14:06:38 -05:00
validate_url_spec.rb Add missing features to new feed importer (#11501) 2020-11-24 18:11:13 +01:00