Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I need to disable the submit button for a user with specific role. It is posible?
Comment | File | Size | Author |
---|---|---|---|
#4 | 2983024-4.patch | 630 bytes | jrockowitz |
|
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedYou can customize and conditional hide the submit buttons.
Comment #3
mabregoa CreditAttribution: mabregoa commentedBut how do you do if depending the user or the url?
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedYou could use a computed token a condition.
The attached patch makes it possible to define access controls for customized submit buttons
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedI committed the patch. Please download the latest dev release to review.