function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Alex Valavanis 10Alex Valavanis 10 

Insufficient privileges from button

Hello,

I created a visual force page and a custom button which allows to change the Ownership of Accounts from a custom list view. When i use it it works great. However if i log in as another user and i click the button i receive the insufficient privileges message. Could you please what i need to cross check?

User-added image
ShirishaShirisha (Salesforce Developers) 
Hi Alex,

Greetings!

Can you please double check if the user has access to the page and the Object on which they are trying to change the owner.

If they do not have access then the error will occurs.

Reference:https://help.salesforce.com/apex/HTViewSolution?urlname=How-can-I-make-Visualforce-pages-visible-to-users-1327109104423&language=en_US

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri