RE: Custom entity form security role doesn't work
Alex,
Do the people get multiple form? I Mean the 'Test Form' and then 'Default Form'?
Example here:
Now, please help me to check the Form by seeing the assigned security role.
Check whether your Default Form (go to the Form, click Enable Security Roles), now change from 'Display to everyone' to 'Display only to these selected security roles.
And then from the list, please remove the security role you want to use that you assigned to the 'Test Form', so that the users with that role cannot see any other Form, other than Test Form, if you have multiple forms other than The 'Test Form', so please do the same things.
And then uncheck the 'Fallback' if you think you don't want to give Default Form for those who are not assigned to any security role with the specific form, because if you enable that, by default, everyone will see this Default Form doesn't care the Role. I suggest you creating new Form and make it as default (not full form becoming the Default Form)
Hope this can help you!
Thank you.