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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to allow a user enter new workers under Warehouse management\Setup\Work users\Worker

(0) ShareShare
ReportReport
Posted on by 90

Hi

We are using customly created roles. I need to allow entering new workers under Warehouse management\Setup\Work users\Worker, but the system does not allow to enter the password for the newly created workers and gives a message :

"The user does not have permission to reset passwords. Contact the administrator or warehouse manager to reset passwords."

As I can understand it is standard in AX that only System administrator, Warehouse manager role and warehouse user itself can reset the password.

Does anybody know how to add a new role to that list of roles allowing resetting password?

Thank you

*This post is locked for comments

I have the same question (0)
  • Guy Terry Profile Picture
    28,941 Moderator on at

    There is a Privilege called 'Maintain user passwords', which the Warehouse manager has. It has a Permission to a display menu item called WHSResetUserPassword. Have you tried that?

  • Elena Lya Profile Picture
    90 on at

    Hi Guy

    Thanks for your suggestion. I did add this privilege but it doesn't solve the problem. I also tried to duplicate a standard AX Warehouse manager role and assign it to a user - this doesn't work either. Only the roles System administrator or Warehouse manager allows it at the moment.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    If adding the suggested security privilege to the custom role which you would like to use, then add that role to your user did not help, I would recommend to take a look at the form with an AX developer. Check the cross-references to see where that label is being used in code (possibly on that password form, or in the caller class for that, can be verified also in the Right click > Personalize form > Information tab).

    It is possible to hard-code to validate specific roles against using an AX functionality in X++, which might be the case here as well (if the access is not related to another security role). A developer should be able to check it for you in an hour tops.

  • M P Profile Picture
    285 on at

    Have the same issue. WHResetUserPassword  and DMFUserPassword Menu Items and WHSWorkerMaintain privilege were added to custom Security Role and still Reset Password is still disable

  • M P Profile Picture
    285 on at

    looks like only System Administrator and Warehouse Manager Role can do this. Appreciate if anyone can suggest.

  • Elena Lya Profile Picture
    90 on at

    Hi All

    I hope it helps someone else, as I used quite a lot of time to find a solution ont his.

    The roles that allow entering password are coded in the allowUserToChangePassword method on WHSWorker table.

    So if you go to AOT, find the table WHSWorker and edit this method by either adding an extra role to that or by removing this limit completely, you will solve the problem.

  • Tendor Profile Picture
    15 on at

    This solution works!

    Thank you, Elena!

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

News and Announcements

Season of Giving Solutions is Here!

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
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Nakul Profile Picture

Nakul 2

#2
Mea_ Profile Picture

Mea_ 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans