'The edits to this role were successful, but allowed_roles for its transformations was not edited due to a lack of permissions.';
if(type==='create'){
message=
'Transformations have been attached to this role, but the role was not added to those transformations’ allowed_roles due to a lack of permissions.';
}elseif(errorAdding&&errorRemoving){
message=
'This role was edited to both add and remove transformations; however, this role was not added or removed from those transformations’ allowed_roles due to a lack of permissions.';
}elseif(errorAdding){
message=
'This role was edited to include new transformations, but this role was not added to those transformations’ allowed_roles due to a lack of permissions.';
}elseif(errorRemoving){
message=
'This role was edited to remove transformations, but this role was not removed from those transformations’ allowed_roles due to a lack of permissions.';