Meteor-Community-Packages/meteor-roles

Add ability to disable the roles subscription

Open

#256 创建于 2017年11月2日

在 GitHub 查看
 (9 评论) (1 反应) (0 负责人)JavaScript (161 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (919 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Currently every user who visits the site creates a subscription to the roles collection. However, this is a waste since we never update that collection, thus it would be better to just embed the list of roles into the source code. I wish we could disable this subscription globally, or make it use a "virtual collection" of some sort that doesn't have any server overhead. Any idea how this could be done?

贡献者指南