web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2009 Security: how to allow access to a rightclick system popup form?

(0) ShareShare
ReportReport
Posted on by 1,005

Hi all

I would like to create a special group in security
to access a popup system form, The form is displayed
by right-clicking on a form, selecting 'Record Info'
the title of the form is 'Record information'.

The functionality I'm interested is under button
'Database Log'. The only way I know to give users
access to this is to give them higher access than is
desirable. I would like to isolate them to just that
button if possible.

Any ideas? Currently on AX2009.
Thanks, K.     

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Kevin,

    So you have to take a look at the SysRecordInfo form in order to get an idea as to where the permissions are assigned on a button to button basis.

    For example, the rename button calls action menu item SysRenameKey.  If you look at that menu item in the aot you can see the security key for it.  Admin > Misc > Rename key.

    Another example, the script button does not call another form so the security key is assigned in the properties directly on the form.  SysDevelopment.

    Etc etc

  • Kevin Murray Profile Picture
    1,005 on at

    I think I've determined the security key for this is AdminInquiries,  but even giving full control permissions to Admin & Electronic Signatues groups my test user is unable to rightclick and see the form/button.

  • Community Member Profile Picture
    on at

    Kevin, yes you are correct the security key is Admin > Inquiries > Database log for this specific button.

    Try cascading the permission.

    So user right clicks on any form selects Record info.  The Record Information form appears, just not the database log button???

    Or he can't even get to the record info form?  Says not enough access?

  • Kevin Murray Profile Picture
    1,005 on at

    He does get the Record Information form, all that's on it is the 'Order Line' text and greyed field (testing on Sales Order Lines form). The buttons (ShowAllFields, PrintAllFields, DataBaseLog, Script, CompanyAccountsTemplate and UserTemplate) are missing. I'm only interested in DatabaseLog...I'm fine, he's not.

    I tried cascading, no effect. I was convinced at one point the Electronic Signatures were important but no difference...

  • Verified answer
    Community Member Profile Picture
    on at

    Kevin,

    Take a look at sysRecordInfo forms init method. 

    There is some code there:

           if (dictTable.rights() < AccessType::View)
            {
                printGrp.visible(false);
            }

    I believe this looks for admin table security, not sure which one however. 

    What you can do is simply bypass this if statement and the database log button and section(called printGrp in the form) should appear.

    Give this a try.  This one is tricky.

  • Kadriye Alber Profile Picture
    135 on at

    Hi Kevin,

    try this:

    Administration > Miscellaneous > Form Personalisation: Grant full access to this key and its child node

    Development > Add Fields: Grant full access access to this key and its child node

    Regards

    Kadriye

  • Verified answer
    Kevin Murray Profile Picture
    1,005 on at

    Kent, Kadriye...

    Thanks for helping me. I tried commenting out the code in SysRecordInfo, it didn't work but I feel it would have going down that route. Kadriye, I tried your suggestion but never saw the Development child node under Form Personalizations. Perhaps I was in the wrong place or didn't have the right access.

    I did find a combination of access rights that worked, as follows: Access is ViewOnly for all mentioned.

    Administration

      Inquiries

         Database Log

         Signature Log

    Arch (peculiar to my company)

      Security

         Rename function

    Electronic Signature

      Electronic Signature

    The combination of these when combined into a new security group and added to a user's profile show the rightclick Recordinfo and allow access to the DatabaseLog button.

    You would think there'd be a easier way tho.

    Thanks

    Kevin

  • Suggested answer
    Kevin Murray Profile Picture
    1,005 on at

    ahhhhh forgot one access...

    Tables

      Database Log

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans