i changed write permsion in case entity to user level security role but user still can edit the case form .
i checked share permision and everything in teams and BU security role.
what i must do check to solve this problem ?
thank you linn.
existing records not effected in new permisions defined in security role and new records work correctly after set cascading none for n:1 relationship for parent filed (contact) .
It caused a lot of trouble and wasted my time.
thanks
Even if you change the relationship to cascading none in reparent and share, the existing auto-share will not be reverted for the existing records.
If your environment is on-prem, will you be able to run a SQL query on POA table? Replace @UserId with the impacted user and @CaseGUID with the GUID of the case record that the user can see (but not supposed to).
SELECT * FROM PrincipalObjectAccess WHERE PrincipalId = @UserId AND ObjectId = @CaseGUID
Have you tried to create new security role and assign to the user?Make sure when you create new roles create copy from system define roles.see if this works.
Also please try to apply different user and check.
I checked everything .
Even when the user is limited to "user" read security role to case entity , but can still see the record when asigned to another user.
I checked everything and clear user from all teams member.
I checked N:1 realationship and changed it to cascading none in reparent and share.
and user only has one security role that in read and write permision that set to user level security role in case entity.
I use dynamics 365 On-Premises version 9.0.13.11 .
Could this be a bug from Microsoft?
When you checked everything in Entity Security Role and User Security Manager, you did not see any role that would grant write privilege to the Case entity, is that correct?
Can you double-check by using Your User Security - Magnified tool from XrmToolBox for that user and look into the Case row?
If you also don't see any role with write access to Case entity in that role,
Check whether the user is the manager of another user. In that case user may have the edit privilege's of cases owned by sub level.
Also if the record owned by same user then user level privilege's will allow him to edit.
i checked everything in Entity Security Role and User Security Manager .
user still can edit the case form :/
Can you please check the following forum thread with the similar issue? As mentioned in one of the answers, you can use Entity Security Role tool to see which security roles have access to the Case entity. Then, use the User Security Manager tool to see which security roles a user has, including the security roles of his team.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156