Hello, our tenant will be obtained from an external form for our project. When the tenant is included in the system, a default edition assignment will be made, and we will want to control the permission statuses of this tenant. In the current scenario, we are conducting our tests by adding a tenant through the admin panel without using an external form and assigning the edition we created to this tenant.
Regarding the problem we are experiencing;
When a tenant is added to the system, role assignments are made by default. When there is no distinction in permissions for these role assignments (MultiTenancySide or RequiredFeature), all permissions are assigned to this role. However, we only want to assign permissions that contain features valid for editions assigned to the tenant to that tenant. For this reason, we use the RequiredFeature property, which you mentioned is available for permissions, to establish the connection between permissions and features. However, in this case, we encounter the following situation. We assign the edition we created with the desired features to the tenant. Afterwards, when we log into the system with the tenant assigned to the edition, we cannot access the menus included in the edition. Upon checking, we see that no record has been added to the PermissionGrant table. However, we noticed that if, for example, the Category permission exists and the project runs without adding the RequiredFeature tag to the permission beforehand, the Category permission is recorded in the PermissionGrant table for the tenant. Afterwards, when we add the RequiredFeature tag to the Category permission, we see that it works. After adding the RequiredFeature tag, we see that it works. However, when a new tenant arrives after this process, the RequiredFeature tag is present, so no record is added to the PermissionGrant table again. In short, what we want here is to be able to control the tenant's permission status on a feature-specific basis.
we kindly request your support.
thanks
Has the issue been resolved? I had used this link https://abp.io/support/questions/8627/Install-specific-version-of-ABP-Studio and then I downgrade abp studio, suite, cli version but I had taken angular cannot get error. Please resolve this issue or provide installation instructions for working versions and how to proceed. This issue is disrupting our work at Abp.
Has the issue been resolved? When I checked today, the same error still persists.
Hi, I created entity over suite and then error occur. I had closed all services, containers, apps, gateways before error occur. Thanks.
C:\src\ClassifAI\services\management>dotnet build Restore complete (1.0s) ClassifAI.ManagementService.Contracts succeeded (2.4s) → ClassifAI.ManagementService.Contracts\bin\Debug\net9.0\ClassifAI.ManagementService.Contracts.dll ClassifAI.ManagementService failed with 50 error(s) and 5 warning(s) (4.8s) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(11,35): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(11,35): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(11,35): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Data\ManagementServiceDatabaseMigrationEventHandler.cs(4,7): warning CS0105: The using directive for 'Volo.Abp.DistributedLocking' appeared previously in this namespace C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Services\Categories\CategoriesAppService.Extended.cs(25,7): warning CS0105: The using directive for 'ClassifAI.ManagementService.Entities.Categories' appeared previously in this namespace C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Services\Categories\CategoriesAppService.Extended.cs(26,7): warning CS0105: The using directive for 'ClassifAI.ManagementService.Services.Dtos.Categories' appeared previously in this namespace C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Services\Categories\CategoriesAppService.Extended.cs(27,7): warning CS0105: The using directive for 'ClassifAI.ManagementService.Data.Categories' appeared previously in this namespace C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Services\Categories\CategoriesAppService.Extended.cs(28,7): warning CS0105: The using directive for 'ClassifAI.ManagementService.Services.Dtos.Shared' appeared previously in this namespace C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.Extended.cs(17,57): error CS0246: The type or namespace name 'ITrainsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.Extended.cs(17,67): error CS0246: The type or namespace name 'IValidationsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.Extended.cs(19,32): error CS0246: The type or namespace name 'ITrainsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.Extended.cs(19,37): error CS0246: The type or namespace name 'IValidationsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(30,68): error CS0246: The type or namespace name 'GetTrainsInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(30,44): error CS0246: The type or namespace name 'TrainDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(30,73): error CS0246: The type or namespace name 'GetValidationsInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(30,44): error CS0246: The type or namespace name 'ValidationDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(30,71): error CS0246: The type or namespace name 'GetCategoriesInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(30,44): error CS0246: The type or namespace name 'CategoryDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(37,29): error CS0246: The type or namespace name 'CategoryDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(37,29): error CS0246: The type or namespace name 'ValidationDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(37,29): error CS0246: The type or namespace name 'TrainDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(43,54): error CS0246: The type or namespace name 'CategoryCreateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(43,29): error CS0246: The type or namespace name 'CategoryDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(43,56): error CS0246: The type or namespace name 'ValidationCreateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(43,29): error CS0246: The type or namespace name 'ValidationDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(43,51): error CS0246: The type or namespace name 'TrainCreateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(43,29): error CS0246: The type or namespace name 'TrainDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(50,63): error CS0246: The type or namespace name 'CategoryUpdateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(50,29): error CS0246: The type or namespace name 'CategoryDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(50,65): error CS0246: The type or namespace name 'ValidationUpdateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(50,29): error CS0246: The type or namespace name 'ValidationDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(50,60): error CS0246: The type or namespace name 'TrainUpdateDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(50,29): error CS0246: The type or namespace name 'TrainDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(64,75): error CS0246: The type or namespace name 'CategoryExcelDownloadDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(71,57): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(64,75): error CS0246: The type or namespace name 'TrainExcelDownloadDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(64,75): error CS0246: The type or namespace name 'ValidationExcelDownloadDto' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(71,57): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(71,57): error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'ClassifAI.ManagementService' (are you missing an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(85,44): error CS0246: The type or namespace name 'GetCategoriesInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(85,44): error CS0246: The type or namespace name 'GetValidationsInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(85,44): error CS0246: The type or namespace name 'GetTrainsInput' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0535: 'CategoryController' does not implement interface member 'ICategoriesAppService.GetListAsync(GetCategoriesInput)' C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0738: 'CategoryController' does not implement interface member 'ICategoriesAppService.GetAsync(Guid)'. 'CategoryControllerBase.GetAsync(Guid)' cannot implement 'ICategoriesAppService.GetAsync(Guid)' because it does not have the matching return type of 'Task<CategoryDto>'. C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0535: 'CategoryController' does not implement interface member 'ICategoriesAppService.CreateAsync(CategoryCreateDto)' C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0535: 'CategoryController' does not implement interface member 'ICategoriesAppService.UpdateAsync(Guid, CategoryUpdateDto)' C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0535: 'CategoryController' does not implement interface member 'ICategoriesAppService.GetListAsExcelFileAsync(CategoryExcelDownloadDto)' C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0535: 'CategoryController' does not implement interface member 'ICategoriesAppService.DeleteAllAsync(GetCategoriesInput)' C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.Extended.cs(18,63): error CS0738: 'CategoryController' does not implement interface member 'ICategoriesAppService.GetDownloadTokenAsync()'. 'CategoryControllerBase.GetDownloadTokenAsync()' cannot implement 'ICategoriesAppService.GetDownloadTokenAsync()' because it does not have the matching return type of 'Task<DownloadTokenResultDto>'. C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(22,19): error CS0246: The type or namespace name 'ICategoriesAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(22,19): error CS0246: The type or namespace name 'IValidationsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(22,19): error CS0246: The type or namespace name 'ITrainsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Categories\CategoryController.cs(24,39): error CS0246: The type or namespace name 'ICategoriesAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Trains\TrainController.cs(24,36): error CS0246: The type or namespace name 'ITrainsAppService' could not be found (are you missing a using directive or an assembly reference?) C:\src\ClassifAI\services\management\ClassifAI.ManagementService\Controllers\Validations\ValidationController.cs(24,41): error CS0246: The type or namespace name 'IValidationsAppService' could not be found (are you missing a using directive or an assembly reference?)
Build failed with 50 error(s) and 5 warning(s) in 8.5s
The error I get when I run dotnet build in the service where I created the entity still persists, and the same error also occurs when I rebuild the solution in Visual Studio.
Hello,
The project features I created are as described above. When I create an entity in ABP Suite, I encounter the error shown in the screenshot I attached.
I would appreciate it if you could provide a solution to this error.
Best regards.
[alper] said: Let's say you have an e-commerce website. And you have customers (tenants) in this CRM like Nike and Adidas. You want that the customer Nike will have max 100 users and Adidas will have 200 users, right? this is where the new user is being created => https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/IdentityUserAppService.cs#L77
Yes, we actually want to build a structure like this, we will examine it. Thank you for your answer.
[maliming] said: hi
This doesn't seem related to multi-tenancy. Are your customers isolated as tenants?
Can you share more details about your case?
Thanks.
Hi
A customer can register to the system by itself or can be added by the administrator. When our customer is included in the system, we want to give a limit to the users that our customer will create so that our customer can create their own customer and our customer can manage the system. These operations should be provided by package management.
This is the structure we want
Thanks
Hello, I have a customer, my customer has customers, I want to limit the customers and users that my customer will create here, is there a place where I can do this from your interface or do you have an infrastructure for this. Good work