entity.py
changeset 10462 bd2a14d3de15
parent 10371 88577b10b31e
child 10467 73ea636a5562
equal deleted inserted replaced
10461:37644c518705 10462:bd2a14d3de15
   824             if skip_bytes and attrschema.type == 'Bytes':
   824             if skip_bytes and attrschema.type == 'Bytes':
   825                 continue
   825                 continue
   826             attr = rschema.type
   826             attr = rschema.type
   827             if attr == 'eid':
   827             if attr == 'eid':
   828                 continue
   828                 continue
   829             # password retreival is blocked at the repository server level
   829             # password retrieval is blocked at the repository server level
   830             rdef = rschema.rdef(self.e_schema, attrschema)
   830             rdef = rschema.rdef(self.e_schema, attrschema)
   831             if not self._cw.user.matching_groups(rdef.get_groups('read')) \
   831             if not self._cw.user.matching_groups(rdef.get_groups('read')) \
   832                    or (attrschema.type == 'Password' and skip_pwd):
   832                    or (attrschema.type == 'Password' and skip_pwd):
   833                 self.cw_attr_cache[attr] = None
   833                 self.cw_attr_cache[attr] = None
   834                 continue
   834                 continue