chb / indivo_server

The Indivo™ Personally Controlled Health Record
http://indivohealth.org
GNU General Public License v3.0
103 stars 40 forks source link

Carenet model should use lib.sharing_utils #6

Open thisisdhaas opened 12 years ago

thisisdhaas commented 12 years ago

The current Carenet.contains_doc() method, for example, ignores autoshares and nevershares, which is bad behavior. All functions checking for carenet membership should use indivo.lib.sharing_utils._carenet_filter().