mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: staged users weren't able to reply in restricted categories
This commit is contained in:
@@ -78,6 +78,10 @@ class Guardian
|
||||
)
|
||||
end
|
||||
|
||||
def is_staged?
|
||||
@user.staged?
|
||||
end
|
||||
|
||||
# Can the user see the object?
|
||||
def can_see?(obj)
|
||||
if obj
|
||||
|
||||
Reference in New Issue
Block a user