[gen] Changed the way to customize the Config in an app.
This commit is contained in:
parent
88bd5e5bce
commit
8833f7b0ae
12 changed files with 182 additions and 160 deletions
|
@ -164,6 +164,9 @@ class User(ModelClass):
|
|||
def showRoles(self): pass
|
||||
roles = gen.String(show=showRoles, indexed=True,
|
||||
validator=gen.Selection('getGrantableRoles'), **gm)
|
||||
# Where is this user stored? By default, in the ZODB. But the user can be
|
||||
# stored in an external LDAP.
|
||||
source = gen.String(show=False, default='zodb', layouts='f', **gm)
|
||||
|
||||
# The Group class --------------------------------------------------------------
|
||||
class Group(ModelClass):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue