Meteor-Community-Packages/meteor-roles

Add ability to disable the roles subscription

Open

#256 geöffnet am 2. Nov. 2017

Auf GitHub ansehen
 (9 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (161 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (919 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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?

Contributor Guide