Description:
Changing an article to "Private" causes a "Too Many Redirects" error if the user making the change is not the article author. After the update, the article becomes inaccessible to the user (and anyone else not explicitly whitelisted), even if the user is part of the assigned group.
Steps to Reproduce:
  1. Have User A create an article.
  2. Have User B (not the author) edit the article and change its accessibility to "Private."
  • Assign a group (e.g., Group X) that includes User B.
  1. Save the changes.
Expected Result:
User B, as a member of Group X, should retain access to the article without errors.
Actual Result:
  • User B encounters a "Too Many Redirects" error.
  • The article is updated to "Private," but only the original author is whitelisted.
  • User B loses access to the article entirely.
Impact:
This bug creates confusion and access issues for users collaborating on articles, especially when different users are responsible for editing and updating accessibility settings.
Additional Notes:
  • This issue seems related to whitelisting logic, as it only affects non-authors.