Activities of "Spospisil"

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have 3 menu items at the 2nd structural level of my left side nav menu. The structure is as follows. As shown in the screenshot when I click the Test Sub Menu the 3 menu items belonging to Test Sub Menu do not show. If you want to reproduce this issue just add the below code to your class that implements the IMenuContributor interface.

Test Menu 1 Test Sub Menu Test Menu Item 1 Test Menu Item 2 Test Menu Item 3

Code to reproduce

    var miMenu1 = new ApplicationMenuItem(
        name: "TestMenu1",
        displayName: "Test Menu 1",
        elementId: "TestMenu1",
        order: 1
        ).RequireAuthenticated();

    var miMenu1SubMenu1 = new ApplicationMenuItem(
        name: "TestMenu1SubMenu1",
        displayName: "Test Sub Menu",
        elementId: "TestMenu1SubMenu1",
        order: 1
        ).RequireAuthenticated();

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem (
        "TestMenuItem1",
        "Test Menu Item 1",
        "TestMenuItem1",
        order: 1
        ).RequireAuthenticated());

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem(
        "TestMenuItem2",
        "Test Menu Item 2",
        "TestMenuItem2",
        order: 2
        ).RequireAuthenticated());

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem(
        "TestMenuItem3",
        "Test Menu Item 3",
        "TestMenuItem3",
        order: 3
        ).RequireAuthenticated());

    miMenu1.Items.Add(miMenu1SubMenu1);

    //Add Application Security Group menu item
    context.Menu.GetAdministration().AddItem(miMenu1);
  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I am having an issue injecting ANY repository into a ApplicationService class that is being used by the DevExpress Dashboard control to 'Save' a dashboard definition to the database. If I inject it via the class constructor the project throws an error and I try to get the repository manually using the .GetRequiredService<> method it tells me the repository has not been registered.

I've created a sample application to show the issue. If you tell me your github username I will give you access to it and tell you exactly how to reproduce it.

Thanks.

Steve

Question
  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered

We are using Stripe to bill our customers under defined conditions from our application. For example, when a customer adds a new user we want our application to automatically charge their credit card that we have on file in an automated way without any Stripe screens coming up. It appears ABP's implementation of the stripe gateway requires additional input on the stripe screens to complete the transaction. Is there a way for us to pass this additional information required in the messaging to Stripe so that additional input is not needed via user intereaction?

Thanks.

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have a tiered MVC application for which I have overridden the ConfirmUser page in the Identity Server project of my solution. I would like to call an API action defined by my xxxx.HttpApi.Host project from the Identity Server project. How can I do this?

See github repo sample that shows what I'm trying to do. In particular take a look at the \Pages\Account\ConfigmUser.js file to see that I am trying to refer to the 'TestService' that is defined in the AbpSample.Application project.

https://github.com/spospisil/abpSample.git

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I would like my tenant's admin by default (when creating a tenant via the Saas module) to not have access to certain modules. I see that if I add a row to the FeatureValues table as shown below I can prevent the module from showing up in the Tenant's Role/User 'permission' modal, however there doesn't seem to be one for 'Payment' or 'Account' and for that matter within the 'Identity Management' group I see various permissions within the module that I do not want displayed at all on the Permissions modal.

Question
  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Is there an update to this thread?

https://github.com/abpframework/abp/issues/2611

  • ABP Framework version: v5.2.1
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered

I am not able to call an ABP service directly from Javascript. It appears as if my ABP Service is not being included in the ServiceProxyScript that gets loaded. Steps to reproduce issue.

  • Run the DB migrator to create DB
  • Log in as admin
  • Go to the dashboard page
  • At the bottom of the dashboard page is a button with the caption 'Save'
  • Push the Save button to call the javascript code block below.

$('#CallFunctionButton').click(function (e) { structureWeb.companyTenant().then(function (result) { console.log(result.items); }); });

  • ABP Framework version: v5.1.3
  • UI type: MVS
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC

Is it possible to call one of my Application Services (that returns a List collection from values from the DB) within a class that inherits from the PermissionDefinitionProvider to dynamically create PermissionDefinition objects? I create an instance of my application service using the **var permissionService = context.ServiceProvider.GetRequiredService(); **statement but after the service calls the supporting repository lookup I get an "Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed."

This same application service/method is used elsewhere in my application without any issues, so it appears to not work when I use it within a class that inherits from the PermissionDefinitionProvider class.

This exception was originally thrown at this call stack: Autofac.Core.Lifetime.LifetimeScope.CheckNotDisposed() Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(object) Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope() Autofac.Extensions.DependencyInjection.AutofacServiceScopeFactory.CreateScope() Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(Volo.Abp.DynamicProxy.IAbpMethodInvocation) in UnitOfWorkInterceptor.cs System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter.InterceptAsync(Castle.DynamicProxy.IInvocation, Castle.DynamicProxy.IInvocationProceedInfo, System.Func&lt;Castle.DynamicProxy.IInvocation, Castle.DynamicProxy.IInvocationProceedInfo, System.Threading.Tasks.Task>) ... [Call Stack Truncated]

  • ABP Framework version: v5.1.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered/MVC

I have a use case where a user is assigned to one or more roles. These roles may have an overlap in terms of permissions but from a user permission perspective the list of available permissions will be a union of all the roles' permissions they are assigned to. However, I would like to make an exception at a user level (not a role level) to a particular user that removes one of the permissions that are assigned to them via the roles they are assigned to WITHOUT creating a separate role that has this exception that gets assigned to the user.

Role 1 Permission A Permission B

Role 2 Permission B Permission C

The above role/permission break down results in a user having Permission A, B, and C. However I want to exclude a user from having permission B despite being assigned to one or more roles that give that user permission.

Can this be done with ABP/Identity Server?

Question

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Yes

I get the following error when I try to impersonate a tenant when running locally in visual studio. I've researched and cannot find how to fix the issue.

Showing 31 to 40 of 70 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21