Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixes #255: now canView do not wait for 'settingsLoaded' which was removed in e622c112 #256

Merged
merged 1 commit into from

2 participants

@SachaG SachaG merged commit 7deb201 into TelescopeJS:master
@SachaG
Owner

Thanks! I gave you push rights on Telescope by the way :)

@yeputons yeputons deleted the yeputons:issue-255 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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))){
Something went wrong with that request. Please try again.