🔧 [Refactor] Don’t Expose Some Properties Of The Report Node In GraphQL
Created by: Tirokk
Authored by Tirokk Closed
⚡ Refactor ticket
In some cases there is the danger that informations of the Report
node getting exposed to the frontend. Especially the filed
property.
Motive
Security.
Related issues
None.
Implementation
- Set permissions in
permissionMiddleware
. - Write tests for it.
Todo
-
set GQL permission (done by #3075 ) -
write tests (done by #3075 ) -
refactor now failing tests (done by #3075 ) -
database manipulation to set Report.disable
to the final decision, last review rules