View | Details | Raw Unified | Return to bug 38835 | Differences between
and this patch

Collapse All | Expand All

(-)management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py (+8 lines)
 Lines 1559-1564    Link Here 
1559
1559
1560
		self.old_options= copy.deepcopy( self.options )
1560
		self.old_options= copy.deepcopy( self.options )
1561
1561
1562
	def modify(self, *args, **kwargs):
1563
		try:
1564
			super(object, self).modify(*args, **kwargs)
1565
		except univention.admin.uexceptions.licenseDisableModify as exc:
1566
			if 'all' not in self['disabled'] or not self.hasChanged('disabled'):
1567
				raise
1568
			kwargs['ignore_license'] = True
1569
			super(object, self).modify(*args, **kwargs)
1562
1570
1563
	def reload_certificate(self):
1571
	def reload_certificate(self):
1564
		"""Reload user certificate."""
1572
		"""Reload user certificate."""

Return to bug 38835