Univention Bugzilla – Attachment 7081 Details for
Bug 38835
Disable user even if the license count is exceeded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
user_users_modify_returncode.patch
user_users_modify_returncode.patch (text/plain), 792 bytes, created by
Arvid Requate
on 2015-08-04 14:28:13 CEST
(
hide
)
Description:
user_users_modify_returncode.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2015-08-04 14:28:13 CEST
Size:
792 bytes
patch
obsolete
>Index: modules/univention/admin/handlers/users/user.py >=================================================================== >--- modules/univention/admin/handlers/users/user.py (Revision 62618) >+++ modules/univention/admin/handlers/users/user.py (Arbeitskopie) >@@ -1561,12 +1561,12 @@ > > def modify(self, *args, **kwargs): > try: >- super(object, self).modify(*args, **kwargs) >+ return super(object, self).modify(*args, **kwargs) > except univention.admin.uexceptions.licenseDisableModify as exc: > if 'all' not in self['disabled'] or not self.hasChanged('disabled'): > raise > kwargs['ignore_license'] = True >- super(object, self).modify(*args, **kwargs) >+ return super(object, self).modify(*args, **kwargs) > > def reload_certificate(self): > """Reload user certificate."""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38835
:
7047
|
7048
| 7081