[GH-ISSUE #3254] Shared policy access rules are always at the bottom? #30177

Open
opened 2026-06-13 10:42:57 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ceptonit on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3254

Describe the Bug

After applying a shared policy to a public resource, it seems its access rules are always at the bottom if you try to add a custom rule for said resource.
In other words, it's impossible to add a custom rule that goes below the shared policy rules?
I'm not sure if it's a bug or meant to work this way, but this a bit of a bummer if your shared policy rules are all "Block access" type rules, which you'd probably always want at the top and not at the bottom priority wise.

Environment

  • OS Type & Version: Docker Compose on Debian Trixie
  • Pangolin Version: 1.19.1
  • Edition: Enterprise

To Reproduce

  1. Create a shared policy
  2. Create any access rule in it
  3. Apply the policy to a public resource
  4. Inside the public resource, go to the Access Rules tab
  5. The shared policy access rule shows up as greyed out (normal behavior)
  6. Add a custom rule of your choice via the "+ Add Rule" button
  7. Your new rule will appear at the top with a priority of 1
  8. Change its priority number to a number bigger than the last rule of the shared policy (ie 99)
  9. You get a "Invalid priority. Enter a whole number of 1 or higher."
  10. Impossible to move the custom rule below the shared policy rules.

Expected Behavior

Custom access rules on public resources should be able to go below shared policy rules.

Originally created by @ceptonit on GitHub (Jun 12, 2026). Original GitHub issue: https://github.com/fosrl/pangolin/issues/3254 ### Describe the Bug After applying a shared policy to a public resource, it seems its access rules are always at the bottom if you try to add a custom rule for said resource. In other words, it's impossible to add a custom rule that goes below the shared policy rules? I'm not sure if it's a bug or meant to work this way, but this a bit of a bummer if your shared policy rules are all "Block access" type rules, which you'd probably always want at the top and not at the bottom priority wise. ### Environment - OS Type & Version: Docker Compose on Debian Trixie - Pangolin Version: 1.19.1 - Edition: Enterprise ### To Reproduce 1. Create a shared policy 2. Create any access rule in it 3. Apply the policy to a public resource 4. Inside the public resource, go to the Access Rules tab 5. The shared policy access rule shows up as greyed out (normal behavior) 6. Add a custom rule of your choice via the "+ Add Rule" button 7. Your new rule will appear at the top with a priority of 1 8. Change its priority number to a number bigger than the last rule of the shared policy (ie 99) 9. You get a "Invalid priority. Enter a whole number of 1 or higher." 10. Impossible to move the custom rule below the shared policy rules. ### Expected Behavior Custom access rules on public resources should be able to go below shared policy rules.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#30177