Ends in:
0 DAY
22 HRS
36 MIN
18 SEC
Ends in:
0 D
22 H
36 M
18 S

Activities of "barrett2474"

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

  • ABP Framework version: v5.2.2
  • UI type: Blazor Server
  • DB provider: EF Core
  • **Tiered (MVC) no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I used the template of Blazor Server and got it up and running. I navigated to the swagger page b4 logging-in .no cookies in the browser as it was a private window. ERROR: no exception but I am very concerned that I was able to make calls on the api via the swagger page despite not been logged in.

So it turns out the application template is using the **wrong **method call - it should be in ConfigureSwaggerServices. If peolple out there are using the code as is from the Blazor Server Template then they have zero security - wide open.

`` services.AddAbpSwaggerGenWithOAuth(
            configuration["AuthServer:Authority"], 
            new Dictionary<string, string>
           {
                    {"xxx", "xAPI"}
           },
            options =>
            {
                options.SwaggerDoc("v1", new OpenApiInfo { Title = "xAPI", Version = "v1" });
                options.DocInclusionPredicate((docName, description) => true);
                options.CustomSchemaIds(type => type.FullName);
            }
        );`
`

NOT

`` services.AddAbpSwaggerGen(
            options =>
            {
                options.SwaggerDoc("v1", new OpenApiInfo { Title = "EL API", Version = "v1" });
                options.DocInclusionPredicate((docName, description) => true);
                options.CustomSchemaIds(type => type.FullName);
            }
        );``

I'm trying to understand how to authenticate or get authorised to make call against the Rest API. Can anyone clarify or show me where to find the documentation? Thanks,

I wish that was true, but i tested it a few times with fresh templated commercial projects and in a private window.

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

The global admin of our site needs to add new records in a table for all our Tenants.. Its kind of a bulk process we have.

Can the global Admin make inserts/updates "in the context" of a Tenant?

Thank you!

John

that's great - thanks for the fast response!

We are using 5.22 Blazor-UI WASM multi-tenancy EF Core.

I would to be able to subscribe to the event that occurs when any Tenant uploads a file using the file Management module because (we need to process some actions based upon the file content).

In the doco it has: "This module doesn't define any additional distributed event. See the standard distributed events."

I would be grateful if i could be provided some guidance or short code sample as I don't understand "standard distributed events or how to hook into them.

Thank you! John

I read "Subscribing to the auto events is same as subscribing a regular distributed event" - so I'm guessing if there are no distributed events published for the File Management Module then as alternative i could somehow hook into the events at the EF level.

Just posting my thoughts but would still appreciate the experts opinion! :-)

Thank you once again!

CRUD Generator for type Decimal should cater for scale and precision properties' of a Decimal type.

Showing 1 to 10 of 42 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19