graasp / graasp/graasp-feedback

🐛 Turning an item to pseudo visibility once its parent has been pseudo fails with 403

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
platform: 🏭 backend platform: 🕸️ web service: builder type: 🐛 bug
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Expected Behavior
If I turn an item to visibility `pseudonymized`, then `private`, I should be able to turn any of its children item to visibility `pseudonymized`.

## Current Behavior

Currently, if I turn an item to visibility `pseudonymized`, then `private`, and finally I turn one of its children item to visibility `pseudonymized`, it fails with a 403.

## Steps to Reproduce
1. Make a folder, make it `pseudonymized`.
2. Create a child folder inside the one you created.
3. Turn the parent folder to `private` visibility.
4. Try to turn the child item to `pseudonymized` visibility.

See a demo below.

![Demo](https://github.com/user-attachments/assets/c857e9d4-d959-48dc-9be1-45d8e371097e)

![Screenshot of the error](https://github.com/user-attachments/assets/fcebf62b-b43c-4374-93b9-848387519d63)

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.