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.
Apart from Admin, signature field is greyed out for all users with message indicating that they don't have necessary permissions to edit the field.
How can this be fixed?
Thanks
Comments
Comment #1
pmbd CreditAttribution: pmbd commentedThe appropriate Text Format must be enabled for the User's Role. i.e make sure the Text Only format is available for authorized users.
Comment #2
A-snowboard CreditAttribution: A-snowboard commentedHello,
I have the same problem.
Users can register their signatures if I allows HTML FULL.
But I hope that is the filtered HTML which is authorized and not the FULL which is reserved for admin.
I do not see how to modify the authorization ...
Thank you in advance.
Comment #3
A-snowboard CreditAttribution: A-snowboard commentedJ'ai fait une réinstalation de drupal. Donc je n'ai plus ce souci.
Merci
Comment #4
Nemanja CreditAttribution: Nemanja commentedIs it the same problem as we explained in our issue: https://www.drupal.org/node/2509138 ?
Comment #5
Liam McDermott CreditAttribution: Liam McDermott at Woolwich Web Works commentedI can reproduce this, *but* disabling the Signatures for Forums module doesn't change anything, the signature field is still disabled when using Drupal Core signatures. It's possible I'm missing something but the behaviour seems to be that this behaviour happens when the user lacks permission to use any text formats.
Sorry if I'm mis-interpreting this post, but when I tested with an authenticated user and the Full HTML permission was not enabled for the auth. user role, the signature field was enabled and the text format was set to Filtered HTML, which seems like the correct behaviour.
So either I'm not getting it or the problem has been fixed in core since the (very long time, sorry about that) since this was raised. If this is still an issue could someone please detail exactly what their setup is?
Comment #6
Idas CreditAttribution: Idas commentedI have same problem. The authenticated user can't edit the signature.
Comment #7
ron_s CreditAttribution: ron_s commentedThe problem has to do with user access to text formats. If a long text field is added to a content type, and the field has multiple text formats, the field defaults to the highest level of authority available to the user (even if it has been saved at a higher level of authority). Therefore, if there are text formats called "Full Admin", "Full", and "Filtered", an admin can access all three, while someone of less authority can only access "Filtered".
The Signature Forum text field does not honor permissions in the same way. If an admin creates a user account and saves it without editing the Signature Forum field, the account will be saved with a top level of text format equal to what the admin has. In this situation, a standard authenticated user would then attempt to edit his or her profile, and the Signature Forum field will be disabled with a message that the user does not have a proper level of permissions.
The only way to fix in this scenario is for an admin to edit the user's account and set the text format on the field to a level available to the standard authenticated user.