Meteor-Community-Packages/meteor-roles

Handle large role collection by persisting on client when user is logged it.

Open

#332 opened on Feb 27, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (919 stars) (161 forks)batch import
enhancementhelp wanted

Description

I have a very complex and large role collection. Since these permissions are needed when the user is logged in, it takes quite some time for my application to load. I have more than 300 inherited roles and this may actually grow larger. Is there a way to persist roles on the client and only read from the client as long as the user is logged in? This package actually helps in persisting the roles on the client. But how can I connect the role package to this persisted collection on the client?

Contributor guide