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 was sure i had seen this here before; but can't find it.
Not sure why this is missed in the validate when devel generate creates nodes; but it would seem obvious to only allow valid users to be used as the authors for the content that gets created.
Comments
Comment #1
salvisWhat do you mean with "valid" users? active users?
Why is this an issue?
Comment #2
liquidcms CreditAttribution: liquidcms commentedi mean users that are authorized to create specific node types.
so node type X can only be created by role Y, yet i get users from any role (including no user/anon) being used as the authors of the nodes created.
Comment #3
salvisI'm not sure it needs to be that sophisticated, but maybe it does in some advanced scenario...
Please provide a patch (D8 first).
Comment #4
willzyx CreditAttribution: willzyx commentedClosing for lack of activity. Feel free to reopen if the issue still exists