summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/publications/boards.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/publications/boards.js b/server/publications/boards.js
index da6bc1cd..0446a647 100644
--- a/server/publications/boards.js
+++ b/server/publications/boards.js
@@ -16,8 +16,11 @@ Meteor.publish('boards', function() {
return Boards.find({
archived: false,
$or: [
+ {
+ _id: { $in: starredBoards },
+ permission: 'public',
+ },
{ members: { $elemMatch: { userId: this.userId, isActive: true }}},
- { _id: { $in: starredBoards } },
],
}, {
fields: {