Meteor-Community-Packages/meteor-roles

Add ability to disable the roles subscription

Ouverte

#256 ouverte le 2 nov. 2017

 (9 commentaires) (1 réaction) (0 personne assignée)JavaScript (161 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (919 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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?

Guide contributeur