Meteor.methods({

  'deleteTemplate'(templateId) {
    console.log("### DELETING TEMPLATE ###");
    check(templateId, Match.Any);
    
    Template.remove(templateId);

    console.log(JSON.stringify({
        resource: "template",
        action: "delete",
        details: {
          id: templateId,
        },
        requester: Meteor.userId()
    }));
  } //End deleteTemplate method
});

@@ -128,17 +128,227 @@
 y);%0A    
-%0A
+const templateObject = Template.findOne(templateId);%0A%0A    if (templateObject.owner != Meteor.userId()) %7B%0A      throw new Meteor.Error(401, %22This user is not authorized to complete this request%22);%0A    %7D else %7B%0A  
     Temp
@@ -367,24 +367,30 @@
 templateId);
+%0A    %7D
 %0A%0A    consol

Support for Shared Templates (Beta) - Only allow deletion if current user is Owner