discourse/lib/guardian
Dan Ungureanu d420a7b2c8
DEV: Reuse code for TrustLevelAndStaffSetting (#15044)
The code that checked this permission was duplicated everytime a new
settings of this type was added. This commit changes the behavior of
some functionality because some feature checks were bypassed for staff
members.
2021-11-22 20:18:53 +02:00
..
bookmark_guardian.rb FEATURE: Allow editing bookmark reminders (#9437) 2020-04-17 11:08:07 +10:00
category_guardian.rb FEATURE: Allow admins to permanently delete posts and topics (#14406) 2021-10-13 12:53:23 +03:00
ensure_magic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_guardian.rb DEV: remove calls to guardian from GroupActionLogger (#13835) 2021-07-28 15:04:04 +04:00
post_guardian.rb FEATURE: Allow admins to permanently delete posts and topics (#14406) 2021-10-13 12:53:23 +03:00
post_revision_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_guardian.rb DEV: Reuse code for TrustLevelAndStaffSetting (#15044) 2021-11-22 20:18:53 +02:00
topic_guardian.rb DEV: Reuse code for TrustLevelAndStaffSetting (#15044) 2021-11-22 20:18:53 +02:00
user_guardian.rb FIX: restrict other user's notification routes (#14442) 2021-09-29 16:24:28 +04:00