Permalink
Browse files

Merge pull request #256 from yeputons/issue-255

Fixes #255: now canView do not wait for 'settingsLoaded' which was removed in e622c11
  • Loading branch information...
2 parents 0c8ba25 + 959771c commit 7deb2016f4a90f1a3fe1f7ec351dda6f57d2c390 @SachaG committed Mar 3, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/permissions.js
View
4 lib/permissions.js
@@ -13,10 +13,6 @@ canView = function(user){
if(Meteor.isClient){
// on client only, default to the current user
var user=(typeof user === 'undefined') ? Meteor.user() : user;
-
- // return false until settings have loaded
- if(!Session.get('settingsLoaded'))
- return false;
}
if(user && (isAdmin(user) || isInvited(user))){

0 comments on commit 7deb201

Please sign in to comment.