Merge "Check permission of the calling process" into main