added permissions to docs