Back to index

plone3  3.1.7
Classes | Namespaces | Functions | Variables
LDAPGroupFolder.py File Reference

Go to the source code of this file.

Classes

class  GroupUserFolder.LDAPGroupFolder.LDAPGroupFolder
class  GroupUserFolder.LDAPGroupFolder.GroupUser

Namespaces

namespace  GroupUserFolder.LDAPGroupFolder

Functions

def GroupUserFolder.LDAPGroupFolder.manage_addLDAPGroupFolder

Variables

string GroupUserFolder.LDAPGroupFolder.__version__ = "$Revision: $"
 GroupUserFolder Copyright (C)2006 Ingeniweb.
string GroupUserFolder.LDAPGroupFolder.__docformat__ = 'restructuredtext'
tuple GroupUserFolder.LDAPGroupFolder.addLDAPGroupFolderForm = DTMLFile('dtml/addLDAPGroupFolder', globals())
list GroupUserFolder.LDAPGroupFolder.role_dns = []
 if name in self.aq_parent.valid_roles():

This is, in fact, a role

self.getLUF().manage_addGroupMapping(name, name) else:

This is a group -> we set it as a group

self.getLUF().manage_addGroupMapping(name, self.getGroupPrefix() + name)
tuple GroupUserFolder.LDAPGroupFolder.all_groups = luf.getGroups()
tuple GroupUserFolder.LDAPGroupFolder.all_roles = luf.valid_roles()
dictionary GroupUserFolder.LDAPGroupFolder.groups = {}
list GroupUserFolder.LDAPGroupFolder.role = role[GROUP_PREFIX_LEN:]
tuple GroupUserFolder.LDAPGroupFolder.r = groups.get(role, None)