(self)
return relationship(self.AccessControlEntry)
Generates the ACL tables and adds the attribute to the parent model
        object.

        Returns:
            A relationship to an ACE (timesketch.models.acl.AccessControlEntry)
Generates the ACL tables and adds the attribute to the parent model
        object.
Generates the ACL tables and adds the attribute to the parent model object .
def acl(self):
        """
        Generates the ACL tables and adds the attribute to the parent model
        object.

        Returns:
            A relationship to an ACE (timesketch.models.acl.AccessControlEntry)
        """
        self.AccessControlEntry = type(
            '%sAccessControlEntry' % self.__name__, (
                AccessControlEntry,
                BaseModel, ),
            dict(
                __tablename__='%s_accesscontrolentry' % self.__tablename__,
                parent_id=Column(Integer,
                                 ForeignKey('%s.id' % self.__tablename__)),
                parent=relationship(self), ))
        return relationship(self.AccessControlEntry)
def acl ( self ) : self . AccessControlEntry = type ( '%sAccessControlEntry' % self . __name__ , ( AccessControlEntry , BaseModel , ) , dict ( __tablename__ = '%s_accesscontrolentry' % self . __tablename__ , parent_id = Column ( Integer , ForeignKey ( '%s.id' % self . __tablename__ ) ) , parent = relationship ( self ) , ) ) return relationship ( self . AccessControlEntry )