Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Modify permission for item record creating without allowing to modify already existing records

(0) ShareShare
ReportReport
Posted on by 4
For the current company I am working at, it is requested that users are allowed to create new items through templates. The same users that are allowed to create new items should not be allowed to modify already existing records. After creating a new permission set and applying this to a test user, I have found out that the modify permission on an item is required to create an item, but this also allows users with these permissions to modify already exisiting item records.
 
Is there a way to seperate the modify permission to the point that users can create new items but not modify already created items?
 
Would something along the lines of UsergroupX CanCreateItems(UserSecurityId: Guid): Boolean; resolve the modify currently existing item record issue, if the modify item permission would be excluded from the user group moving forward?
 
 
The version that is being used is BC 210.
 
With kind regards,
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    Modify permission for item record creating without allowing to modify already existing records
    Hi, I agree with NAV_with_Narang, and the standard code generally inserts the Primary Key first when inserting a record first, and then modify the new record. These two steps generally cannot be separated.
    It is recommended that you consider another solution, such as the one that has already been used and cannot be modified, which would be better.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Verified answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    Modify permission for item record creating without allowing to modify already existing records
    Creating Records = Inserting Data
    Updating Records = Modifying Data
     
    To have modify permissions, you need read permissions. If you don't read you can't modify. If you need inserting permissions, you need modifying permissions. These are all interconnected logically and you can't have 1 without having the other. I do not think so what you're trying to achieve is possible with permission sets.
     
    Reach out to your developer to see in what way they can be of help

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