Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Security permission doesn't work if add the same filed in form using personalization

(0) ShareShare
ReportReport
Posted on by 725

We need disable Credit limit in Customer card for group of user. We restrict access to the control Credit_CreditMax in CustTable form according to https://community.dynamics.com/ax/f/33/p/111412/462377#462377 (André Arnaud de Calavon responded on 2 Sep 2013 8:50 AM) and everything works fine. But if the users add field CreditMax from source CustTable again using button Personalise, the new control is editable.

We don't want to restrict user using Personalize, it's very useful functionality. What we only want is some users in our organization can change customer credit limit and the others only can see the content of the field but never change it.

Any suggestions?

*This post is locked for comments

  • Galia Handjieva Profile Picture
    Galia Handjieva 725 on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    "What we only want is some users in our organization can change customer credit limit and the others only can see the content of the field but never change it."

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    Hi Galia Handjieva,

    You found right solution. Another option could be using override permission functionality daxpeng.blogspot.co.nz/.../override-permissions-in-role.html . In this case you could restrict access to a field on a table level, so it won't be editable not only on this form but on any form that has this table as a data source.

    If issue is solved could you please mark your answer and any that helped you as verified to close this thread.

  • Verified answer
    Galia Handjieva Profile Picture
    Galia Handjieva 725 on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    I'm not sure this is most accurate way but the next settings works as I expect:

    4212.Untitled.png

    Don't change Needed permission for the form control ("None"). In section Permission in privilege add Tables (not Forms) and then the field CreditMax (not form Control). Give the table EffectiveAccess = "Create" and for the field "Read". Now add new control using Personalize - both old and new controls are non-editable. That's what I need.

    4212.Untitled.png

  • Galia Handjieva Profile Picture
    Galia Handjieva 725 on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    7041.Untitled.png5875.Untitled1.png

    These are the settings of the privilege my role uses and the setting of the form control Credit_CreditMax.

    This is the result. The green marked control is default - it's non-editable as I've expected. The control in right marked in red is added using Personalize - it's editable and I think is not correct.

    7041.Untitled.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    Hi!

    You can to use property AllowAdd (Form \ DataSource \ Field)

    msdn.microsoft.com/.../aa860145.aspx

    Specify whether you can use personalization to add a field to a form.

    Imho

  • Galia Handjieva Profile Picture
    Galia Handjieva 725 on at
    RE: Security permission doesn't work if add the same filed in form using personalization

    Hi, Crispin John Augustine,

    I mean the first (standard) control in the form is non-editable and the second  control (added using Personalize) is editable.

    I've never tried to add new control from development but I suggest it will be new control and my restrictions won't affect it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans