In the current implementation only allowed_values specified in field definition, therefore when a field is created the existing user roles (at that time) are saved (cached) to field's config and this field is going to display these as options every time. In other words, what happens with the field if you add or remove a new role? Nothing, because the field has its own options set already stored in config.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | og_access_roles-allowed_values_function-2816547-6.patch | 1.65 KB | mxr576 |
Comments
Comment #2
mxr576Comment #3
mxr576Comment #4
mxr576Comment #5
mxr576Minor fix.
Comment #6
mxr576Simplification.