Skip to content

[Bug]: When a Zone is assigned to a group, it can't be deleted with the permission zone_delete_own #1194

@Hardi100

Description

@Hardi100

Describe the problem

When a user has the permission zone_delete_own, he can't delete a zone, which is only assigned to the group he is apart of.
He is able to edit the same zone content with the permission zone_content_edit_own.

Steps to reproduce

  1. Create an Access Template for Groups
  2. Assign the following Permissions to the Template zone_delete_own, zone_content_view_own, zone_master_add
  3. Create a Group and assign the created Access Template
  4. Create a forward zone and assign it to the group. Don't assign it to a user (No user owner)
  5. Navigate to zones/forward
  6. No delete button appears, but the edit button appears

Poweradmin version

4.3.1, 4.2.2

Database

PostgreSQL

Additional information (optional)

Image Image

The delete button is missing on the zone test1234.com

Metadata

Metadata

Assignees

Labels

authAuthenticationdnsDNS Managementsize: SSmall effortuiUser Interface

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions