Activities of "maliming"

hi

You can use the TenantManager/ITenantAppService to create a new tenant and then use IFeatureManager to set some features/editions for it.

https://github.com/abpframework/abp/pull/19382

hi

2.

You can use RolePermissionValueProvider.ProviderName as the Provider of a permission definition. You can't use Roles.Admin and Roles.Workshop.Owner.

group.AddPermission("MyPermission6").WithProviders(RolePermissionValueProvider.ProviderName);

If you want to grant permissions to a role, you don't need to do this.

You can use:

await permissionManager.SetForRoleAsync("your_role_name", TestPermissionNames.MyPermission1, true);

hi

Table 'timesheet_dev.abppermissiongroups' doesn't exist

Does the abppermissiongroups table exist on your database? Are you using the same version of abp for all of your websites?

Can you share a project to reproduce this error?

We must look at the code or the project to troubleshoot the problem.

Your ticket has been refunded.

hi

I checked. This is a problem with CLI, I will fix it.

You can upgrade your nuget and npm package manually.

Thanks. I'm checking this.

hi

We will improve this case. Thanks.

hi

private void ConfigureAuthentication(ServiceConfigurationContext context)
{
    context.Services.AddAuthorization(options =>
    {
        options.DefaultPolicy = new AuthorizationPolicyBuilder()
            .RequireAuthenticatedUser()
            .AddRequirements(new DenyExternalUserAuthorizationRequirement()).Build();
    });
}
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;

namespace MyCompanyName.MyProjectName.Web;

public class DenyExternalUserAuthorizationRequirement : AuthorizationHandler<DenyExternalUserAuthorizationRequirement>, IAuthorizationRequirement
{
    protected async override Task HandleRequirementAsync(AuthorizationHandlerContext context, DenyExternalUserAuthorizationRequirement requirement)
    {
        // Do your check.
        // if (context.User is ExternalUser)
        // {
        //     context.Fail();
        // }

        context.Succeed(requirement);
    }
}

hi

There was a problem with our Nuget website yesterday. It has been fixed now. Can you try again?

If still not work for you , can you share a project to reproduce the NuGet error

Thanks.

Showing 5231 to 5240 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.