mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.52k stars 459 forks source link

The search bar shows results when you have not logged in #905

Open jezlo opened 8 months ago

jezlo commented 8 months ago

Describe the issue The search bar shows results when you have not logged in, even with the option GLOBAL_LOGIN_REQUIRED = true

To Reproduce

  1. Instance configured in docker
  2. The option GLOBAL_LOGIN_REQUIRED = true is set
  3. In an incognito browser to not have cookies saved without logging into the application
  4. Enter a search or character
  5. Show the names of the videos that are public but without login

Expected behavior Do not show the names of the videos in the results until they are connected

Screenshots

Environment (please complete the following information):

Additional context Showing the results gives an indication about the content that is stored on the platform