-
Notifications
You must be signed in to change notification settings - Fork 12
Milestone
Description
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
- Error output:
- 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
- Related code: packages/ns-api/files/ns.redirects
- It should not be possible to disable an ipset that comes from outside the restricted IPs section.
See also
- Related forum discussion: https://partner.nethesis.it/t/abilita-e-disabilita-da-errore-da-menu-kebab/9517/5
- Ticket: https://helpdesk.nethesis.it/a/tickets/191985
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress 🛠