A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
You can bypass the access checking by adding:
directory.BypassAccessCheck = true;
hth
Hi there.
I´m trying to create pages and upload images to the unified file system programatically from outside the EPiServer admin.
Creating the pages work fine but not uploading the images. When i try to create a new directory using the PageData.GetPageDirectory(true)-method it throws an unauthorization exception.
Is there a way to set the accesslevel on the page so that I can create a dictionary and upload files?
Some code:
Thanks a bunch.