mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #917] [MERGED] user.Manager: fix ACL write, read order #1462
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1462
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/917
Author: @sandman7920
Created: 10/13/2023
Status: ✅ Merged
Merged: 11/19/2023
Merged by: @binwiederhier
Base:
main← Head:main📝 Commits (7)
5c9cebfuser.Manager: fix ACL write, read order7a5572auser.Manager: further improve ACL write/read orderafd6d2eDefault_DenyAll: move the longest rule on top5437093TestManager_UserManagement: move the longest rule on topff2a354TestMigrationFrom1: move the longest rule on top0ff1f65TestMigrationFrom4: move the longest rule on top1aa82ffFullScenario_Default_DenyAll: add user "john" test case📊 Changes
2 files changed (+46 additions, -12 deletions)
View changed files
📝
user/manager.go(+3 -3)📝
user/manager_test.go(+43 -9)📄 Description
This should fix
read-only access to topic *being applied beforeread-write access to topic _PREFIX_*Before this if we have:read-only access rule was applied first and user couldn't write to mytopic*
See #914
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.