You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When resharing a folder using api with FRONTEND_ENABLE_RESHARING=false, request with not enough permissions should return 403 status code but returning 404.
According to, #5742 (comment)
Steps to reproduce
Steps to reproduce the behavior:
einstein shares 'test' folder to moss with editor role and moss gets permission 15 for the folder in response as FRONTEND_ENABLE_RESHARING is set to false
moss accepts share requested by einstein
moss tries to reshare 'test' folder with marie permission 31 with using api and get response 404
Expected behavior
When moss tries to reshare the folder with marie, the response code should be 403 as he does not have enough permissions to share.
Describe the bug
When resharing a folder using api with FRONTEND_ENABLE_RESHARING=false, request with not enough permissions should return 403 status code but returning 404.
According to,
#5742 (comment)
Steps to reproduce
Steps to reproduce the behavior:
einstein
shares 'test' folder tomoss
with editor role andmoss
gets permission 15 for the folder in response as FRONTEND_ENABLE_RESHARING is set to falsemoss
accepts share requested byeinstein
moss
tries to reshare 'test' folder withmarie
permission 31 with using api and get response 404Expected behavior
When
moss
tries to reshare the folder withmarie
, the response code should be 403 as he does not have enough permissions to share.Actual behavior
When
einstein
shares "test" folder withmoss
with role editor using api and gets permission 15 in responseusing curl command:
Response here
the response contains
moss
accepts the share requested byEinstein
andAgain when
moss
shares 'Shares/test" withmarie
through apiusing curl command:
Setup
loacally
Additional context
#5742 (comment)
The text was updated successfully, but these errors were encountered: