| 123456789101112131415161718192021222324252627282930 |
- using Abp.Authorization;
- using Abp.Domain.Repositories;
- using Microsoft.Extensions.DependencyInjection;
- using VberAdmin.Authorization;
- using VberZero.AppService.MultiTenancy;
- using VberZero.Authorization.Roles;
- using VberZero.Authorization.Users;
- using VberZero.BaseSystem.MultiTenancy;
- using VberZero.MultiTenancy;
- namespace VberAdmin.BaseSystem.MultiTenancy;
- [AbpAuthorize()]
- public class TenantAppService : TenantAppServiceBase, ITenantAppService
- {
- public TenantAppService(IRepository<Tenant, int> repository, VzTenantManager tenantManager, VzUserManager userManager, VzRoleManager roleManager, IVzDbMigrator vzDbMigrator) : base(repository, tenantManager, userManager, roleManager, vzDbMigrator)
- {
- }
- protected override string GetPermissionName => PermissionNames.VberSystemMgTenantMgQuery;
- protected override string GetAllPermissionName => PermissionNames.VberSystemMgTenantMgQuery;
- protected override string CreatePermissionName => PermissionNames.VberSystemMgTenantMgCreate;
- protected override string UpdatePermissionName => PermissionNames.VberSystemMgTenantMgUpdate;
- protected override string DeletePermissionName => PermissionNames.VberSystemMgTenantMgDelete;
- }
|