There is a great module, which allows to use field permission of per-field basis, but also restricts its usage only to Fields fields.
Views field permissions could make single field have exactly the same permissions as now has the entire view page! Also if would be great if it could have an option "override" or "respect" for example node access permissions
Use cases:
1. Create a view with for example Views table: Title, comment count, new unread comment count - which is not visible by anonymous users. Right now you simply cannot remove that column! It is possible only to output value in other column, but then all the table sorting by new comments is not possible
2. To simplify view building when fields permission module is too complex for the task - it is just for content viewing in specific lists, not everywhere
3. To quickly generate for example table pricelists for different user groups: price for anonymous, price for registered (-10%), price for administrators (-20%) - user sees column only of his role
4. To overcome currently used PHP with "if role=!anonymous print column1_value" not only in table views
I think it is a great feature.
Comments
Comment #1
digitgopher commentedHey @PlayfulWolf, did you ever find this functionality in another module? It would be great to have role/permissions be an option per view field in the UI, so we don't have to resort to PHP in the database or template.