Merge "Update permission check for offloadEngine registration" into main