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

pmbd’s picture

The appropriate Text Format must be enabled for the User's Role. i.e make sure the Text Only format is available for authorized users.

A-snowboard’s picture

Hello,

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.

A-snowboard’s picture

J'ai fait une réinstalation de drupal. Donc je n'ai plus ce souci.
Merci

Nemanja’s picture

Issue summary: View changes

Is it the same problem as we explained in our issue: https://www.drupal.org/node/2509138 ?

Liam McDermott’s picture

Status: Active » Postponed (maintainer needs more info)

I 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.

But I hope that is the filtered HTML which is authorized and not the FULL which is reserved for admin.

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?

Idas’s picture

I have same problem. The authenticated user can't edit the signature.

ron_s’s picture

Status: Postponed (maintainer needs more info) » Active
Related issues: +#2509138: Inserting signature as a plain text

The 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.