Skip to content

Portforward: Kebab menu enable/disable fails with domain set object #1312

@Tbaile

Description

@Tbaile

Steps to reproduce

  • Create a portforward rule using an object with a domain set in the "Limit access to" section.
  • Attempt to enable or disable the rule using the kebab menu.

Expected behavior

  • The rule should be enabled or disabled without errors, regardless of whether a domain set object is used.

Actual behavior

  • Enabling or disabling the rule from the kebab menu produces an error:
    • Error output: {“error”: “redirect_not_disabled”}
    • The command that fails: echo '{"id":"XXXX"}' | /usr/libexec/rpcd/ns.redirects call disable-redirect
  • The error occurs both for enable and disable actions.
  • Performing the same operation from within the portforward rule using the "status" toggle does not produce the error.

Components

See also

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Progress 🛠

Relationships

None yet

Development

No branches or pull requests

Issue actions