2
0
Fork 0
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:
Sam 2013-07-14 11:24:16 +10:00
parent 8d947535a8
commit ecf17cfebb
38 changed files with 349 additions and 126 deletions

View file

@ -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