Bug 1059907 - Include access type in permission setting; r=mfinkle

--HG--
extra : amend_source : 8ce0a0d1344d249aa567d4769cddde56bbaeec1c