Activities of "maliming"

hi

  1. I would like to delete the permission groups above. What are the options I have for doing that?

See https://docs.abp.io/en/abp/latest/Authorization#changing-permission-definitions-of-a-depended-module

  1. I would like to define the permissions of a given role. What are the options I have for doing that?
group.AddPermission("MyPermission6").WithProviders(RolePermissionValueProvider.ProviderName);

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L140-L148

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L31-L35

  1. How do I ensure that new tenants being created always get the latest set of default permissions for the application?

The template project already did this.

See MyProjectNameTenantDatabaseMigrationHandler

https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeeder.cs#L28-L52

  1. Can I disable the out-of-the-box admin role?

Yes.

hi

If the template project works, can you share a minimal project to reproduce your error?

liming.ma@volosoft.com

Thanks.

hi

https://github.com/advisories/GHSA-mrr8-v49w-3333

We will upgrade all packages except sweetalert2

Please follow https://github.com/abpframework/abp/pull/19356

hi

You can use different domains for your websites. The cookies are independent. eg: https://readme.localtest.me/

hi

This seems like a UI issue, I don't have any idea, you can continue debugging to see why the id is incorrect.

Thanks.

hi

You can get the MD file with your GitHub access token. That's no problem. But for images, you can't add the token to the request.

I think you can replace the URL of these images to redirect to your website instead of GitHub. On your website, you can pass the token to get the images from the Github private repo.

Thanks.

And make sure your websites are In-process-hosting

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/in-process-hosting?view=aspnetcore-8.0

hi

Please update TestService as below:

namespace TestProject8.Test
{
    public class TestService: ApplicationService, ITestService
    {
        private IdentityUserManager _userManager;
        private IDistributedCache<AbpDynamicClaimCacheItem> _dynamicClaimCache;

        public TestService(IdentityUserManager userManager, IDistributedCache<AbpDynamicClaimCacheItem> dynamicClaimCache)
        {
            _userManager = userManager;
            _dynamicClaimCache = dynamicClaimCache;
        }
        public async Task AddToRoleAsync(Guid id)
        {
            var user = await _userManager.FindByIdAsync(id.ToString());
            if (user == null)
            {
                return;
            }
            await _userManager.AddToRoleAsync(user, "External");
            await _dynamicClaimCache.RemoveAsync(AbpDynamicClaimCacheItem.CalculateCacheKey(user.Id, user.TenantId));
        }
    }
}

I will check others. Thank you.

Showing 5251 to 5260 of 11546 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.