Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am looking to make fields required or not based on the current role. So say an admin went in they would need to enter values for Title and Body but description wasn't. And when a user role, say Content Updater went to enter values all the fields would be required.
If you plan on doing something like this great!
However, I plan on looking into writing and implementing these features into my own version of the module. If you want me to post a patch or description of the changes that's fine with me. It may not be the most elegant solution however I do believe I will get it working.
Comments
Comment #1
kbasarab CreditAttribution: kbasarab commentedDandrews: Did you ever right this into your own module or patch for Field Permissions? This would be a pretty useful feature.
Comment #2
mariacha1 CreditAttribution: mariacha1 at ThinkShout commentedLooks like this does the requested, and is actively maintained:
https://www.drupal.org/project/required_by_role