# באג עם גישה לנושא ציבורי ללא כניסה 3.1.0.beta2

**URL:** <https://meta.discourse.org/t/bug-with-access-to-public-topic-without-login-3-1-0-beta2/254675>\
**Category:** Bug\
**Created:** [9 בפברואר,‏ 2023,‏ 8:11pm UTC](https://meta.discourse.org/t/bug-with-access-to-public-topic-without-login-3-1-0-beta2/254675 "2023-02-09T20:11:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![areen](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@areen](https://meta.discourse.org/u/areen)\
**Post date:** [11 בפברואר,‏ 2023,‏ 3:08pm UTC](https://meta.discourse.org/t/bug-with-access-to-public-topic-without-login-3-1-0-beta2/254675/5 "2023-02-11T15:08:55Z")

</div>

Hi  
I checked source code and problem is in this commit  
[https://github.com/Areen3/discourse/commit/019ec74076e271059123cbcf26f832e8d8c99e6c](https://github.com/Areen3/discourse/commit/019ec74076e271059123cbcf26f832e8d8c99e6c)

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/a/4/ca42d7e71791e14bd6b596970889d8fe6f604c1e.png)

I think that not loged user doesnt have user profile with trust level  
I rollback these changes on this method in my repo  
but I dont know what next, I don’t programing in rubby

what should happen now for someone to fix this code snippet?

Regards …  
Piotr

---

_[View the full topic](https://meta.discourse.org/t/bug-with-access-to-public-topic-without-login-3-1-0-beta2/254675)._
