- πΊπΈUnited States dcam
I'm closing this as a duplicate of #2786597: Do not render fieldsets when no there is no data, or the user lacks crud permissions β , but I'll grant credit to @trwill in the other issue.
Some users do not have permission to create/edit/delete any entities in a complex IEF widget on a given node. For those users, the field is not properly hidden and prints the header with an empty div (screenshot)
I can replicate this on a clean install of simplytest.me for example:
- Add entity ref field on 'article' type allowing 'page' only
- Configure form display to use IEF complex widget
- Create user with access to create article but NOT to create page
- Field is printing with empty fieldset
Hide field if no access is present
Write patch
Users without access will no longer see an empty field
N/A
N/A
Closed: duplicate
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm closing this as a duplicate of #2786597: Do not render fieldsets when no there is no data, or the user lacks crud permissions β , but I'll grant credit to @trwill in the other issue.