
Why can't I use these buttons with the custom profile?
2 answers

Here is the code:
{!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")}
var caseObj = new sforce.SObject("Case");
caseObj.Id = '{!Case.Id}';
caseObj.OwnerId = '00G60000000vwLU';
caseObj.Status = "Assigned";
var result = sforce.connection.update([caseObj]);
window.location.href=window.location.href;
I meant that it is checked for Manage Cases and Transfer Cases as well as Edit Comments.