CBJS: Access Control 4



This content originally appeared on DEV Community and was authored by Peppa

Detail

  • Giống lv1 nhưng đã sử dụng query để chọn ra những posts có public=1. Nhưng lại bị thừa phần or. Nếu ta đọc những post có public=0 thì chỉ cần truyền thêm user_id của user cần đọc là khai thác thành công

Image description

Image description


This content originally appeared on DEV Community and was authored by Peppa