Changeset 6589 for main/waeup.sirp/trunk/src
- Timestamp:
- 10 Aug 2011, 22:01:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6512 r6589 48 48 form = view.request.form 49 49 localrole = form['local_role'] 50 user = form['user'] 50 if form.has_key('user'): 51 user = form['user'] 52 else: 53 view.flash('No user selected.') 54 view.redirect(view.url(view.context, '@@manage')+'#tab-%s' % tab) 55 return 51 56 role_manager = IPrincipalRoleManager(view.context) 52 57 role_manager.assignRoleToPrincipal(localrole, user)
Note: See TracChangeset for help on using the changeset viewer.