Allow additional contexts to be used as visibility criteria

Created on 14 May 2021, about 3 years ago
Updated 9 April 2024, 3 months ago

Thanks again for your work.

For the project I'm working on, I wanted to be able to limit the visibility of an extra field according to the users' role. The existing code only passes the entity context in to attachFieldTypeConditionForm. In the merge request I'll prepare after creating this issue, I've modified things to mirror how the block visibility form works. This has enabled me to use a wider range of contexts, including user roles.

Regards,

Nigel

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia Nigel Cunningham Geelong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024