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
Create a shared policy
Create any access rule in it
Apply the policy to a public resource
Inside the public resource, go to the Access Rules tab
The shared policy access rule shows up as greyed out (normal behavior)
Add a custom rule of your choice via the "+ Add Rule" button
Your new rule will appear at the top with a priority of 1
Change its priority number to a number bigger than the last rule of the shared policy (ie 99)
You get a "Invalid priority. Enter a whole number of 1 or higher."
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
To Reproduce
Expected Behavior
Custom access rules on public resources should be able to go below shared policy rules.