Users data in Application


#1

Hi, first of all i need you to know that im completly new to meteor.
I was wondering about team/project management system. And i dont know how to do that every user see only his data in app and data of group where he is.
Thanks for every answer.


#2

Set a field with e.g. createdByUser or teamId and filter by this field.

To autmoate the filtering process you can use a package like https://github.com/matb33/meteor-collection-hooks.


#3

Can you give me a example of code please.


#4

Hello. I need this example too!


#5

I’d suggest you read the Meteor Guide on Users and Accounts. It has specific code examples for filtering code by userId and roles.