Bug 24650 - Bei Bearbeiten einer Forward/Reverse Zone werden alle Richtlinien angeboten
Bei Bearbeiten einer Forward/Reverse Zone werden alle Richtlinien angeboten
Status: RESOLVED DUPLICATE of bug 33137
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 3.0
Other Linux
: P4 minor (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
: 29517 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-16 10:38 CET by Moritz Muehlenhoff
Modified: 2016-02-19 14:04 CET (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2011-11-16 10:38:21 CET
In der Verwaltung von DNS Forward und Reverse Zonen gibt es nun einen Reiter "Richtlinien", auf dem alle Richtlinien-Typen angezeigt werden. 

Der sollte hier nicht erscheinen, für DNS gibt es keine Richtlinien und im Rest der UMC wird der Richtlinien-Reiter nur bei Objekten angezeigt für die es Richtlinien gibt (und dort dann auch nur die relevanten, z.B. DHCP-Richtlinien an einem DHCP-Subnetz-Objekt oder die Benutzer-Richtlinien an Benutzern.
Comment 1 Ingo Steuwer univentionstaff 2012-12-03 12:49:13 CET
*** Bug 29517 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Kläser univentionstaff 2012-12-04 09:25:10 CET
Alle Richtlinien werden dann angezeigt, wenn es sich bei dem Objekt um einen Container handelt. Da DNS-Forward-Zones auch Container sind (mit Unterobjekten) wird das hier angezeigt. (In 2.4 war dies nicht der Fall.)
Comment 3 Ingo Steuwer univentionstaff 2012-12-04 10:42:43 CET
(In reply to comment #2)
> Alle Richtlinien werden dann angezeigt, wenn es sich bei dem Objekt um einen
> Container handelt. Da DNS-Forward-Zones auch Container sind (mit Unterobjekten)
> wird das hier angezeigt. (In 2.4 war dies nicht der Fall.)

Das geht aber auch anders? An einem DHCP-Service (der auch Unterobjekte hat) werden nur DHCP-relevante Richtlinien angezeigt.
Comment 4 Alexander Kläser univentionstaff 2012-12-06 10:20:43 CET
(In reply to comment #3)
> Das geht aber auch anders? An einem DHCP-Service (der auch Unterobjekte hat)
> werden nur DHCP-relevante Richtlinien angezeigt.

Aus dem UDM-UMC-Modul (udm_ldap.py):

> policyTypes = udm_modules.policyTypes( self.name )
> if not policyTypes and self.childs:
>     # allow all policies for containers
>     policyTypes = filter( lambda x: x.startswith( 'policies/' ) and x != 'policies/policy', udm_modules.modules )

Folgende UDM-Handler haben die Eigenschaft childs=1:

> ~/svn/ucs3.1/management/univention-directory-manager-modules$ rgrep '^\s*childs=1' modules/univention/admin/handlers/*/*py
> modules/univention/admin/handlers/container/cn.py:childs=1
> modules/univention/admin/handlers/container/dc.py:childs=1
> modules/univention/admin/handlers/container/ou.py:childs=1
> modules/univention/admin/handlers/dhcp/service.py:childs=1
> modules/univention/admin/handlers/dhcp/shared.py:childs=1
> modules/univention/admin/handlers/dhcp/sharedsubnet.py:childs=1
> modules/univention/admin/handlers/dhcp/subnet.py:childs=1
> modules/univention/admin/handlers/dns/forward_zone.py:childs=1
> modules/univention/admin/handlers/dns/reverse_zone.py:childs=1
> modules/univention/admin/handlers/settings/cn.py:childs=1
Comment 5 Moritz Muehlenhoff univentionstaff 2013-05-31 10:44:42 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 6 Florian Best univentionstaff 2016-02-19 14:04:48 CET

*** This bug has been marked as a duplicate of bug 33137 ***