[Calendar] Update security check according to privilege changes of specification.
Merge pull request #171 from wcwang/next

[Calendar] Update security check according to privilege changes of spec.