I need to disable the submit button for a user with specific role. It is posible?

CommentFileSizeAuthor
#4 2983024-4.patch630 bytesjrockowitz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mabregoa created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review

You can customize and conditional hide the submit buttons.

mabregoa’s picture

But how do you do if depending the user or the url?

jrockowitz’s picture

You could use a computed token a condition.

The attached patch makes it possible to define access controls for customized submit buttons

  • jrockowitz committed a52e114 on 8.x-5.x
    Issue #2983024 by jrockowitz: It is possible to disable the submit...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch. Please download the latest dev release to review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.