When I was debugging plan mode, I was able to reproduce the issue you mentioned. It seems that during plan mode, the propagation of the permissions mode it's in might be missing somewhere. I need to investigate more about that and fix it.
In terms of further DX improvements for plan mode, I am adding the following
Originally posted by @vipulgupta2048 in #333
Originally posted by @vipulgupta2048 in #333