Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Required permissions are not granted - Dynamic Entity Properties #10390


User avatar
0
c_emin created
  • What is your product version? 10.3.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? Core

Using Muli-Tenant I make a Role with everything disabled except the "Users" Section is checked.
Then I Create a new User with that Role. When I log into the new user and then Navigate to Administration -> Users it pops up this error

I know I can enable the Dynamic Entity Properties and would not get this error. But I would prefer to not have the menu option "Dynamic Properties".


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thank you for your report. This problem is fixed in 10.4 version and will be released soon. You can take a look at https://github.com/aspnetzero/aspnet-zero-core/issues/3898 to see the fix.

  • User Avatar
    0
    musa.demir created

    Hi c_emin

    I could not reproduce it. Here is my test case:

    And user page works withuot any error

    And we already checked it in _DynamicEntityPropertyManager.js https://github.com/aspnetzero/aspnet-zero-core/blob/8f6723a6ba6146c9a50f2ba992dd959b47f38f52/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/wwwroot/view-resources/Areas/AppAreaName/Views/Common/_DynamicEntityPropertyManager.js#L16-L19

  • User Avatar
    0
    c_emin created

    After applying the fix that @ismcagdas recommended here: https://github.com/aspnetzero/aspnet-zero-core/pull/3899/files/5a36a240b53342777a29d7fc4c11e5b57c5014aa

    I had to apply the changes to both files: _DynamicEntityPropertyManager.js _DynamicEntityPropertyManager.min.js

    Now it is working fine.