Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The search plugin has found topics in closed forum sections #1691

Closed
Kabak opened this issue Mar 30, 2023 · 8 comments
Closed

The search plugin has found topics in closed forum sections #1691

Kabak opened this issue Mar 30, 2023 · 8 comments
Assignees
Labels
Milestone

Comments

@Kabak
Copy link

Kabak commented Mar 30, 2023

The search plugin has found topics in closed forum sections and creates links to these sections. The content of these links is available for reading by anyone, even an unregistered visitor.

Pages don't have this problem.

@Dayver
Copy link
Member

Dayver commented Mar 30, 2023

Thx for report, we'll check it out

@Dayver Dayver added this to the Siena 0.9.23 milestone Mar 30, 2023
@Kabak
Copy link
Author

Kabak commented Mar 30, 2023

Seems, Search plugin create links but visitors could not read. ( cashe issue )

@Kabak
Copy link
Author

Kabak commented Mar 30, 2023

search plugin does not give links to registered users, but if a person is not authorized on the site, then the search creates a list of links on the forum, but does not allow reading the content

@Alex300
Copy link
Member

Alex300 commented Mar 30, 2023

[RU]
Надо проверить 2 кейса:

  1. Тема находится в категории на чтение которой у пользователя нет прав. Т.e. у этой категории https://www.site.ru/admin/rights?g=1 (g=1 - гости - для примера) в Module Forums структура сняты все галки.

    Выдает ли результаты поиска из этой категории?
    Дает ли посмотреть если зайти в темы по прямым ссылкам?

  2. Тема находится в категории на чтение которой у пользователя есть права, но сама тема приватная (доступна только создателю и модераторам/админам)
    Теже вопросы.

Это бы очень помогло.

@Kabak
Copy link
Author

Kabak commented Mar 30, 2023

  1. Выдаёт на форуме. На страницах не выдаёт
    Создаёт ссылки и показывает текст из этих топиков, но по ссылкам не пускает с ошибкой доступа

  2. Как только я включил права ТОЛЬКО НА ЧТЕНИЕ но всем включая неавторизованных, то поиск перестал выдавать ссылки неавторизованным пользователям. пишет - ничего не найдено

Alex300 added a commit that referenced this issue Mar 31, 2023
@Alex300
Copy link
Member

Alex300 commented Mar 31, 2023

Пока не тестировал. Позже проверю. Если все ок, то можно закрывать issue

@Alex300 Alex300 self-assigned this Mar 31, 2023
@Kabak
Copy link
Author

Kabak commented Mar 31, 2023

Вроде работает. Если что-нибудь найду, то напишу.

@Alex300
Copy link
Member

Alex300 commented Apr 5, 2023

Please test it. If there are some errors, reopen this issue

@Alex300 Alex300 closed this as completed Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants