-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ApiError The authenticated user do not have access to this resource when accessing a media folder #16796
Comments
Hi there @gucluoz! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Hi @gucluoz 👋 Thanks for reaching out! I managed to reproduce the issue, we will have a look 😊 |
I can testify that it's an issue. It works if you give the user group access to the "Content" section in addition to the "Media" section. I realize it's not the best solution, but it could solve it temporarily. |
Fixed in #16865 |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
14.0.0
Bug summary
Hi,
With a clean build & deployment of Umbraco 14 a non-administrator user with only "Media" section access right gets "ApiError The authenticated user do not have access to this resource" ApiError while trying to browse a media folder which is set as start node.
Error is raised from an ajax request to resource :
umbraco/management/api/v1/data-type/3a0156c4-3b8c-4803-bdc1-6871faa83fff
If Settings section access right is added to the relevant user group, Ajax call returns with success and the user interface is fully functional with "List View - Media" data type.
Not sure if this is by design yet seems to be a bug.
Specifics
umbraco/section/media/view/media
Steps to reproduce
Expected result / actual result
Expected result : List View - Media control should be visible and contents of the media folder is displayed
![image](https://private-user-images.githubusercontent.com/7089196/349992341-701c1e48-a95a-4e78-86e3-089ddfb1ecd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4NDc3NzAsIm5iZiI6MTczOTg0NzQ3MCwicGF0aCI6Ii83MDg5MTk2LzM0OTk5MjM0MS03MDFjMWU0OC1hOTVhLTRlNzgtODZlMy0wODlkZGZiMWVjZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMThUMDI1NzUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjIyZDAwMDM3ZmFlZmNjM2FhYWM3ODI2ZDkxODUyNWNmZWVjOTVlMDA4MDQzYTIwMDRiZTQwNTIyZTY4ODc2ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.glsJIw-nJnwUmkWPgGNREVFUpZtpO-IgRdIrVH1-XFQ)
Actual result : Error window pops up, List View - Media control is not loaded
This item has been added to our backlog AB#42485
The text was updated successfully, but these errors were encountered: