graasp / graasp/graasp-api

Refactor error for access

Open
#1,879 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Seeing the rest of the tests I understand that having the rejects allows to expect different errors based on the permission requested. Question is: Should they be different errors, or should we simply add the requested permission in a generic `Requested permission not allowed` error ?

_Originally posted by @spaenleh in https://github.com/graasp/graasp/pull/1858#discussion_r2103904787_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.