discourse/lib/guardian
Gerhard Schlager e4f14ca3d7 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:30:16 +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 FEATURE: opt-in guidance on topics for users without access (#7852) 2019-07-04 10:12:39 +02:00
user_guardian.rb FIX: Disallow user self-delete when user posted in PMs 2019-08-10 12:30:16 +02:00