discourse/lib/guardian
Gerhard Schlager ab3e18090f FIX: Disallow user self-delete when user posted in PMs
All posts created by the user are counted unless they are deleted,
belong to a PM sent between a non-human user and the user or belong
to a PM created by the user which doesn't have any other recipients.

It also makes the guardian prevent self-deletes when SSO is enabled.
2019-08-10 12:06:40 +02:00
..
category_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ensure_magic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_guardian.rb FIX: Category topics should not be deletable via review queue 2019-05-30 16:43:23 -04: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: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_guardian.rb FIX: Disallow user self-delete when user posted in PMs 2019-08-10 12:06:40 +02:00