mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	more updates to privileges revamp
This commit is contained in:
		| @@ -71,7 +71,7 @@ Controllers.home = function(req, res, next) { | ||||
|  | ||||
| 				function canSee(category, next) { | ||||
| 					categoryTools.privileges(category.cid, ((req.user) ? req.user.uid || 0 : 0), function(err, privileges) { | ||||
| 						next(!err && privileges.read); | ||||
| 						next(!err && privileges.meta.read); | ||||
| 					}); | ||||
| 				} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user