Calendar permissions fix