abp icon indicating copy to clipboard operation
abp copied to clipboard

ExtraProperties `AllowUserToEdit` parameter implementation [MVC/Blazor]

Open enisn opened this issue 2 years ago • 1 comments

Use-Case Example

(1) add custom configuration to a property of user image

(2) check it on the profile management page

image

enisn avatar Sep 12 '22 11:09 enisn

It will be disabled by default.

hikalkan avatar Sep 20 '22 06:09 hikalkan

awaiting blazor implementation

enisn avatar Sep 26 '22 06:09 enisn

Hello,

I just updated to ABP 6.0 final (MVC) and added options => { options.Configuration["AllowUserToEdit"] = false; } to my ExtraProperties - however, they are still editable from the user's Account Manage Page. What am I doing wrong?

cbogner85 avatar Oct 05 '22 15:10 cbogner85

Hello,

I just updated to ABP 6.0 final (MVC) and added options => { options.Configuration["AllowUserToEdit"] = false; } to my ExtraProperties - however, they are still editable from the user's Account Manage Page. What am I doing wrong?

Which UI Type are you using?

enisn avatar Oct 06 '22 07:10 enisn

Hi @enisn

I'm using LeptonX Commercial 1.0.0-rc.7 for MVC

cbogner85 avatar Oct 06 '22 07:10 cbogner85

Hello @enisn,

it's easy to reproduce:

  • create new solution with 6.0.0 final
  • UI Framework: MVC
  • Theme: LeptonX

Add to MyProjectModuleExtensionConfigurator:

image

Run project, create a user and login as this user, go to My Account > Personal info:

image

As you see, it is editable.

Please reopen this issue and fix it. Thanks!

cbogner85 avatar Oct 10 '22 13:10 cbogner85

Hi @cbogner85 , It seems you're using commercial template.

I realized the issue and we've fixed it. It'll be released in patch version 6.0.1 as soon as possible.

enisn avatar Oct 11 '22 05:10 enisn