I have created a node with a required field.

Anonymous users have permission to create nodes of this type, but do not have permission to edit the required field on creation.

When anonymous users save the node they are taken back to the node creation form with no values filled in the title / body fields and no error message.

1. It would be nice for their to at least be an error message (bug)
2. It would be nice if the former values in the other fields were filled in (bug - loss of data)

3. It would be nice if required setting was available on a per role basis, or if the field was not required for those without edit access to it. (feature request, but not sure if field API would allow this)

Comments

Everett Zufelt’s picture

Category: feature » bug

Switching to bug as no error message and data loss are bugs.

David_Rothstein’s picture

Status: Active » Postponed (maintainer needs more info)

I was not able to reproduce this. When I tried it just now, it seemed to work exactly like you hoped it would (the user was allowed to successfully create the content without ever entering the required field; i.e., the field was treated as non-required for that user even though it was required for users who had permission to create it).

Can you still reproduce this bug, and if so, do you have more details on exact steps to reproduce?

mariacha1’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (duplicate)

Probably a duplicate of https://www.drupal.org/node/2203077