Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : S33big7qO+e4bdyTXGoUTb
Microsoft Dynamics AX (Archived)

Is there a way to give developer rights WITHOUT giving sysadmin rights?

Like (0) ShareShare
ReportReport
Posted on 13 May 2014 15:23:02 by 2,007

We are trying to give rights to users to see fields that are hidden from view in the SysSetupForm that are restricted to in view to anyone who gets a true response from the SecurityRights.isDeveloper() method. Is there a developer role that is not also a SysAdmin? I looked through the list of roles and didn't see one.

Can anyone point me in the right direction?

Thanks,

Brandt

*This post is locked for comments

  • Verified answer
    André Arnaud de Calavon Profile Picture
    292,773 Super User 2025 Season 1 on 14 May 2014 at 05:29:40
    RE: Is there a way to give developer rights WITHOUT giving sysadmin rights?

    Hi Brandt,

    I'm assuming you are referring to e.g. the fields Configuration Keys, System Name and Query tab? Personally I think these controls gives you good information for functional design purposes. Even if you are not the System administrator, sometimes you would like to see these fields.

    If you look at the controls, they are treated differently, but all could be made available to users.

    The Configuration Keys control has the property NeededPermission set to Manual. This means that you will need to add the form control as permission in a privilege or role. The permission used for this form is ClientEssentials. You can read this blog how to add the form control into a role for a similar issue: www.kaya-consulting.com/.../how-to-enable-record-templates-for-non-system-administrators-in-ax-2012

    Another option is to change the NeededPermission value to None. Then save the changed form in the AOT.

    The System Name control is different. In the init method of the form it will be determined if you are a developer or not. If this results true, the control is visible. If it returns false, it will be hidden.  You can ensure the variable showDevInfo will always have the value true. If you need to give access to some users, this is a bit too rigourous.

    The Query tab has two reasons: X++ code and the NeededPermission property. How to handle the NeededPermission has been explained above. The x++ logic looks also for the variable showDevInfo. So if this results true it will work.

    When you change the form and permissions, the normal user can also see the values. There will be no error messages, it just works!

  • Suggested answer
    Community Member Profile Picture
    on 14 May 2014 at 03:47:48
    RE: Is there a way to give developer rights WITHOUT giving sysadmin rights?

    Developer should always have Admin rights in DEV environment

    So I feel this customization is unnecessary and overhead.

    I suggest not to go for it.

  • Kenny Saelen Profile Picture
    on 13 May 2014 at 20:56:22
    RE: Is there a way to give developer rights WITHOUT giving sysadmin rights?

    It's like martin says. We have the same problem here, but there is no way to do this.

  • Verified answer
    Martin Dráb Profile Picture
    231,655 Most Valuable Professional on 13 May 2014 at 16:23:32
    RE: Is there a way to give developer rights WITHOUT giving sysadmin rights?

    No, it's not possible. Even if it was, you would grant much more rights than just seeing few fields. Permissions to change code is the most obvious example.

    Do it differently - modify the SysSetupForm not to require developer rights for those controls.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,773 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,655 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading started