Skip to content

Commit

Permalink
fix: lists with permissions framework
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Sep 12, 2024
1 parent dab563b commit 3d7771c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/qeta-backend/src/service/routes/questions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ export const questionsRoutes = (router: Router, options: RouteOptions) => {
router.get(`/questions/list/:type`, async (request, response) => {
// Validation
const username = await getUsername(request, options, true);
await authorize(request, qetaReadQuestionPermission, options);
// TODO: Get Query from permission decision
const validateQuery = ajv.compile(QuestionsQuerySchema);
if (!validateQuery(request.query)) {
response
Expand Down

0 comments on commit 3d7771c

Please sign in to comment.