discourse/lib/guardian
Natalie Tay 6ebef85b77
FIX: Allow users in content_localization_allowed_groups to delete translations (#34385)
Currently the following is erroneously shown only if the post author is
in the `content_localization_allowed_groups` setting. It should actually
be shown based on the current_user, not the post's user. This bug
prevents the privileged user from deleting translations.
2025-08-18 21:57:45 +08:00
..
bookmark_guardian.rb DEV: Consistently use Guardian helper methods (#34024) 2025-08-14 15:23:42 +08:00
category_guardian.rb FEATURE: improve the suppression for admins when required (#29041) 2024-10-02 10:52:02 +10:00
ensure_magic.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
flag_guardian.rb FEATURE: allow edit custom flags (#32344) 2025-04-17 12:31:52 +08:00
group_guardian.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
invite_guardian.rb FIX: Allow admins to delete invites created by others (#34064) 2025-08-12 05:43:01 +03:00
localization_guardian.rb FIX: Allow users in content_localization_allowed_groups to delete translations (#34385) 2025-08-18 21:57:45 +08:00
post_guardian.rb DEV: Consistently use Guardian helper methods (#34024) 2025-08-14 15:23:42 +08:00
post_revision_guardian.rb FEATURE: Allow admins to permanently delete revisions (#19913) 2023-01-19 15:09:01 -06:00
sidebar_guardian.rb DEV: specs to ensure that only admin can edit Community section (#21666) 2023-05-23 10:54:55 +10:00
tag_guardian.rb DEV: Consistently use Guardian helper methods (#34024) 2025-08-14 15:23:42 +08:00
topic_guardian.rb DEV: Consistently use Guardian helper methods (#34024) 2025-08-14 15:23:42 +08:00
user_guardian.rb DEV: Consistently use Guardian helper methods (#34024) 2025-08-14 15:23:42 +08:00