Univention Bugzilla – Attachment 8143 Details for
Bug 30368
univention.admin.objects.get opens any DN with any module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
30368.patch (text/plain), 959 bytes, created by
Florian Best
on 2016-10-20 19:28:02 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-10-20 19:28:02 CEST
Size:
959 bytes
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/objects.py b/management/univention-directory-manager-modules/modules/univention/admin/objects.py >index a0e2dd2..cd26469 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/objects.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/objects.py >@@ -74,7 +74,8 @@ def get(module, co, lo, position, dn='', attr = None, superordinate = None, attr > if not superordinate: > superordinate = get_superordinate( module, co, lo, dn or position.getDn() ) > >- return module.object( co, lo, position, dn, superordinate = superordinate, attributes = attributes ) >+ if univention.admin.modules.identify(dn, attributes, module): >+ return module.object( co, lo, position, dn, superordinate = superordinate, attributes = attributes ) > > def open(object): > '''initialization of properties not neccessary for browsing etc.'''
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 30368
: 8143