discourse/lib/guardian
Rimian Perkins 6bbd83067d FEATURE: New post editing period for >= tl2 users (#8070)
* FEATURE: Add tl2 threshold for editing new posts

* Adds a new setting and for tl2 editing posts (30 days same as old value)
* Sets the tl0/tl1 editing period as 1 day

* FIX: Spec uses wrong setting

* Fix site setting on guardian spec

* FIX: post editing period specs

* Avoid shared examples
* Use update_columns to avoid callbacks on user during tests
2019-09-06 07:44:12 -04: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 FEATURE: New post editing period for >= tl2 users (#8070) 2019-09-06 07:44:12 -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: New post editing period for >= tl2 users (#8070) 2019-09-06 07:44:12 -04:00
user_guardian.rb FIX: Disallow user self-delete when user posted in PMs 2019-08-10 12:30:16 +02:00