reactioncommerce / meteor-security

A Meteor package: Logical MongoDB security

Home Page:https://atmospherejs.com/ongoworks/security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - Best way to access user profile in defineMethod

aessig opened this issue · comments

Hello,
Thank you very much for this great package. I was wondering if there were a best practice about accessing users.profile in a Security.defineMethod. Cheers.

I think you should be able to simply query the database for it