Second variant of the fix: reduce the scope of 'role' variable
Attach a file by drag & drop or click to upload