Loading

Experience Cloud Sites: Permission Error When Uploading Images from Local Drive to the Rich Text Editor

게시 일자: Oct 23, 2025
상세 설명

Issue

Non-administrator users encounter a permission error when attempting to upload images from their local drive to Rich Text Editor components in Experience Cloud sites. The error message "You do not have permission to execute this operation" prevents the image upload from completing, while uploads from the Asset Library work correctly.

Symptoms

  1. Error message appears: "You do not have permission to execute this operation" when uploading images from local drive

  2. The same user can successfully add images from the Asset Library without errors

  3. Administrator users can upload images from local drive without issues

  4. The error occurs consistently across all templates and pages within the Experience Cloud site

Cause

When a file is uploaded to an Experience Cloud site's Rich Text Editor component, the platform automatically converts it to an Asset file to ensure accessibility by all external site users. This process, called "assetization," moves the file to the Asset Library and creates a sharing record with the site's network ID, indicating that the file can be accessed by site users.

 

These file shares are stored in the ContentDocumentLink entity, and during the creation of these shares, the platform validates whether the uploading user has the necessary permissions to share files with Experience Cloud site users. The validation process specifically checks for the "Share Files with People in Experience Cloud sites" permission and blocks the upload if this permission is not granted to the user.

 

The permission validation occurs in the platform's content sharing boundary validation logic, which determines that users without this specific permission lack the necessary access level to perform the file sharing operation required for Experience Cloud site uploads.

 

솔루션

Solution

  1. Navigate to Setup in your Salesforce organization

  2. Go to Users → Profiles or Permission Sets (depending on your permission model)

  3. Locate the profile or permission set assigned to the affected user

  4. Search for the permission "Share Files with People in Experience Cloud sites"

  5. Enable this permission for the user's profile or assign a permission set containing this permission

  6. Save the changes to the profile or permission set

  7. Ask the user to log out and log back in to refresh their session permissions

  8. Test the image upload functionality by having the user attempt to upload an image from their local drive to a Rich Text Editor component

  9. Verify that the upload completes successfully and the image appears in both the Rich Text Editor and the site's Asset Library

 

Note: This permission is specifically required for uploading files that will be shared with external Experience Cloud site users. Users without this permission can still upload files to internal Salesforce records but cannot upload files that need to be accessible by site users.

 

Knowledge 기사 번호

005227038

 
로드 중
Salesforce Help | Article