opts.merge!(guardian: Guardian.new(performed_by)) if performed_by.staff?
Now we will use reviewer’s “guardian” to check permissions everywhere while creating posts/topics by approval. I hope that is fine.
opts.merge!(guardian: Guardian.new(performed_by)) if performed_by.staff?
Now we will use reviewer’s “guardian” to check permissions everywhere while creating posts/topics by approval. I hope that is fine.