Problem/Motivation
Currently, only users with the ability to update a webform are allowed to test the webform. This is reasonable for most use cases because the 'Test' tab should only be used during development of a webform. Still, there are other use cases where someone may need to be able to quickly test a complex form. If we provide a dedicated 'test' operation developer can use hook_ENTITY_TYPE_access() to decide who can test which webform.
Proposed resolution
Provide dedicated 'test' webform operation and access rule
Form administrators can now select which users, roles, and permissions are allow to test a webform.
Remaining tasks
- Create dedicated 'test' operation
- Add 'test' to access rules
- Write tests.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2951368-8.patch | 125.86 KB | jrockowitz |
| #4 | 2951368-4.patch | 130.49 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedComment #4
jrockowitz commentedComment #8
jrockowitz commentedComment #10
jrockowitz commented