Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
fusiondirectory-plugins
fusiondirectory-plugins
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Labels
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • fusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5709

Closed
Open
Opened Oct 04, 2017 by jbecot@jbecot
  • Report abuse
  • New issue
Report abuse New issue

DNS Tab - record filtering is broken for new systems

Requirements

  • Filling out the template is required. Any Enhancement request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Descriptive title for this enhancement

Prevent FD to show non related records in the DNS tab

Actual behavior

When you create a system, before saving it with Apply or OK, you can activate the DNS tab and tie the host to a DNS domain. Doing so display non related NS record in the record list, allowing a person who can edit any host to accidently edit another NS record.

Expected behavior

If the hostname is not set yet the list should be empty, or, we should not be able to activate DNS (or DHCP) tab at all

Step by step description of new behaviour

  1. In the system plugin, click on Action > Create new workstation
  2. Before validating it active the DNS tab and tie the machine to a domain

Benefits

It's fairly complicated in our setup to allow limited accounts to add/edit/delete workstations with the ability to generate the NS A record without allowing them to edit the whole zone. The actuel behavior is not satisfying.

Possible Drawbacks

I have no clue of a possible drawback, if you don't allow to activate DNS before saving the machine. One may want to configure every field at the time so this may not be convenient in every scenario.

Enhance display filter by checking if the hostname is not null should not affect other cases.

Applicable Issues

dns_tab_1 dns_tab_2

Edited Nov 02, 2017 by Côme Chilliet
Assignee
Assign to
FusionDirectory 1.2.1
Milestone
FusionDirectory 1.2.1
Assign milestone
Time tracking
None
Due date
None
5
Labels
Bug in version:1.1.1 Fixed PJ1706-0097 fixes-merged plugin-dns
Assign labels
  • View project labels
Reference: fusiondirectory/fd-plugins#5709