mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
work in progress, add fidelity to category group permissions (full, create posts, readonly)
This commit is contained in:
parent
8d947535a8
commit
ecf17cfebb
38 changed files with 349 additions and 126 deletions
|
@ -51,7 +51,7 @@ describe TopicTrackingState do
|
|||
row.user_id.should == post.user_id
|
||||
|
||||
# when we have no permission to see a category, don't show its stats
|
||||
category = Fabricate(:category, secure: true)
|
||||
category = Fabricate(:category, read_restricted: true)
|
||||
|
||||
post.topic.category_id = category.id
|
||||
post.topic.save
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue