1 ##parameters=groupId, append_groups=[], ajax='', REQUEST=None
3 gtool
= context
.portal_groups
4 group
= gtool
.getGroupById(groupId
)
6 for id in append_groups
:
9 if REQUEST
is not None :
10 from ZTUtils
import make_query
as mq
11 url
= context
.portal_url()
12 red
= REQUEST
.RESPONSE
.redirect
13 return red('%s/groups_members?%s#assign_groups' % (url
, mq(group
=groupId
, ajax
=ajax
)))