Skip to main content
Dynamics 365 Community / Forums / Finance forum / deleting privileges on...
Finance forum
Suggested answer

deleting privileges on duplicated tasks

editSubscribe (1) ShareShare
ReportReport
Posted on by 4
To customize an existing task in security roles, we say /duplicate/ and give it a new name. (https://prnt.sc/mizJKVO7CYjW)
We then assign this task to the relevant role. After a certain period of time, I witnessed that the privileges attached to this task I had duplicated were partially or completely deleted. For this reason, there are deficiencies in the users' powers. Can you help with this
For example, I duplicated the task /Protect the product entry/ and named it /#Protect the product entry/. After about 10 days, the privileges attached to this task were deleted. https://prnt.sc/Z4mpKy6XAsCU
Attachments
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    Navneeth Nagrajan 1,184 on at
    deleting privileges on duplicated tasks
    Hi Community member,
     
    Looks like the privileges are deleted by another user. Suggestion is never delete privileges. You can always prefix them with a DEL_<privilegename> because that's the best practice from a development stand point. 
     
    You can always remove the privileges assigned to a duty instead of deleting the privileges. 
  • Suggested answer
    NikolajSorensen Profile Picture
    NikolajSorensen 1,570 on at
    deleting privileges on duplicated tasks
    Hi.
     
    Are you doing this in a non-prod environment that gets refreshed with data from PROD?
    Remember that when you create security objects in the configuration, they are stored as data - if data is overwritten your changes are lost.
     
    That sounds like a possible explanation to the problem you are facing, unless someone else is deleting your objects.
  • deleting privileges on duplicated tasks
    Hello,
    https://prnt.sc/vh3AobQDEkDg I am duplicating this existing task here. I named it "#Maintain product receipt" to add it to my own custom role. and I added this task as a reference to the relevant role. (https://prnt.sc/_a0xbehqj9Tp)
    After 10 days, the privileges I marked in the screenshot have been deleted. (https://prnt.sc/C-ZlFj6taTxv)
    This is just an example. The duties and privileges in the other roles I created disappear automatically. Am I doing something wrong somewhere? What should happen?
    Thanks
     
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,176 Super User on at
    deleting privileges on duplicated tasks
    Hi,
     
    Can you repost the screenshots in English? You can read my blog on how to switch the language with or without changing the user options. New option to change the user default or session language - Dynamicspedia
     
    Privileges will not get deleted automatically, unless you import another security configuration file where the privilege is not included as a reference.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,176 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,727 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans