Tenancy side check added to model creating extensions #17323
Description
Resolves #17322
To fix the errors on the ABP Framework side, we only need to make changes to the Permission Management module. Here's the pull request link for reference: PR: https://github.com/abpframework/abp/pull/19508