[gen] Bugfixs.
This commit is contained in:
parent
1f901e5545
commit
bd80d63eda
4 changed files with 16 additions and 20 deletions
|
@ -181,9 +181,11 @@ class Group(ModelClass):
|
|||
multiplicity=(1,1), **m)
|
||||
roles = gen.String(validator=gen.Selection('getGrantableRoles'),
|
||||
multiplicity=(0,None), **m)
|
||||
def getSelectableUsers(self): pass
|
||||
users = gen.Ref(User, multiplicity=(0,None), add=False, link=True,
|
||||
back=gen.Ref(attribute='groups', show=User.showRoles,
|
||||
multiplicity=(0,None)),
|
||||
select=getSelectableUsers, height=15,
|
||||
showHeaders=True, shownInfo=('title', 'login'))
|
||||
|
||||
# The Translation class --------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue