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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Security Roles Assigned to Forms - not working as expected

(0) ShareShare
ReportReport
Posted on by 685

Hi,

I have 3 groups of users who can currently access 3 different versions of account forms. I want to lock it down so each group of users can only access 1 form that is relevant to them. I have created and assigned the security roles and enabled each form for only one security role.

What I would expect is that when any user opens an account they will see only the form that is relevant to them. However, what I am finding is that if a user had last viewed form A, but were now assigned form B then they would see form A again. I would have thought they would have been shown form B as that is all they have security access to.

Am I missing something or is this a security bug? Surely, MS wouldn't purposely allow someone to see a form which they no longer have security access to? 

Any help to resolve would be appreciated.

Richard

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    I believe it's a bug. Give back access to form A, user need manually change form to B, disable access to form A. After it user can't select back form A.

  • crmrsw15 Profile Picture
    685 on at

    Thanks for your reply.

    I may have to do this via code then as we have over 350 users and asking them all to do this will be almost impossible to manage.

  • Community Member Profile Picture
    on at
  • crmrsw15 Profile Picture
    685 on at

    Thanks Uriy

  • crmrsw15 Profile Picture
    685 on at

    I found code no longer works after update and is unsupported as stated here: community.dynamics.com/.../168773

    The post recommends using JS to switch forms. However, in this case it is not possible as the form that is loading is not in the formselector, and in fact the formselector doesn't exist as the user has only one form. so there is no way for me to check whether the form loaded is the correct one.

    Any further help would be appreciated.

  • Karsten Wirl Profile Picture
    4,477 on at

    Hello.

    One thought...

    Which form is marked as the fallback-one?

    When a user has access to one or more forms, they will be displayed in the form selector. When an user opens a record it will be opened in the last used form by the user.

    Kind regards,

    Karsten

  • crmrsw15 Profile Picture
    685 on at

    I don't have any fallback forms as the 3 groups each have their own set of forms.

    It seems like a security hole that a user can see a form even if they don't have access to it, just because it was the last viewed form! I would have thought MS would have thought about access rights changing.

  • Karsten Wirl Profile Picture
    4,477 on at

    You must define a fallback form... one of your forms is for fallback. Please verify which form!

  • crmrsw15 Profile Picture
    685 on at

    The form that I want each unit to specifically see has been set as the fallback but no difference. They are still seeing the one they don't have access to!

  • Karsten Wirl Profile Picture
    4,477 on at

    So, please show us the configuration for each form.

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

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans