def __init__(self, tpg, parent):
    name = ('tpg%d' % tpg.tag)
    super(UITPG, self).__init__(name, tpg, parent)
    self.cfs_cwd = tpg.path
    self.refresh()
    UILUNs(tpg, self)
    if tpg.has_feature('acls'):
        UINodeACLs(self.rtsnode, self)
    if tpg.has_feature('nps'):
        UIPortals(self.rtsnode, self)
    if (self.rtsnode.has_feature('auth') and os.path.exists((self.rtsnode.path + '/auth'))):
        for param in auth_params:
            self.define_config_group_param('auth', param, 'string')
def __init__(self, tpg, parent):
    name = ('tpg%d' % tpg.tag)
    super(UITPG, self).__init__(name, tpg, parent)
    self.cfs_cwd = tpg.path
    self.refresh()
    UILUNs(tpg, self)
    if tpg.has_feature('acls'):
        UINodeACLs(self.rtsnode, self)
    if tpg.has_feature('nps'):
        UIPortals(self.rtsnode, self)
    if (self.rtsnode.has_feature('auth') and os.path.exists((self.rtsnode.path + '/auth'))):
        for param in auth_params:
            self.define_config_group_param('auth', param, 'string')