Base solution for your next web application

Activities of "fupanda"

Perhaps for other developers who run into the same thing, I was able to solve it with the properties paramter when defining the permissions in AppAuthorizationProvider, see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1943

thank you @maliming!

hi @maliming,

We are upgrading from older asp.net zero version and use nuget packages. Al other resources like web need to be upgraded manually with file comparison because of own implementations. So we used fresh downloaded template to compare.

I don't understand how yarn would help us here, because it will not update existing web resource.

Everywhere where abp.message.confirm is used in the Web project

@mailming I understand that it's refactored, but I downloaded a fresh template from the asp.net zero customer website and the template is broken.

The documentation says that the second param is optional, but with the refactoring that doesn't seem the case https://aspnetboilerplate.com/Pages/Documents/Javascript-API/Message

A fresh template asp mvc jquery version 8.0.0 shows callback code in popup.

Seems that the confirm has an extra param now "title", but is called everywhere like this

abp.message.confirm( app.localize('yourmessage'), function (isConfirmed) { if (isConfirmed) { your code } } );

Thank you for posting the solution Leonardo.Willrich. This saved me a lot of headache!

Thank you for the quick response. It's totally clear now. However, this won't solve my problem as our application has 'project' specific roles and rights. Need to check if a teammember of a project has rights to specific functionalities. This seems not possible in this way. I think I have to solve this on the razor page

There is a javascript helper to check the permissions in javascript, however I want to extend this functionality with an extra parameter. I already have my own PermissionChecker and done an override of the IsGranted class in mvc razor views, this work fine, but can't figure out how the abp.auth.hasPermission exactly works and how to extend this.

This won't work for me, because sometimes I want the whole list and sometimes the seperate list

Showing 1 to 10 of 32 entries