This is a subissue of #1391216: Views integration for the 6.x-2.x and 7.x-1.x version
When displaying a View of addresses, it would be nice to be able to filter out addresses the user is not supposed to see.
There should be three Views filters implemented to filter on address access:
- A filter for if the address may be viewed.
- A filter for if the address may be edited.
- A filter for if the address may be deleted.
These three filters should be connected with the permissions class (UcAddressesPermissions).
Because checking address access would require a full address object, it should leave out support for pager, as checking access for all addresses could become a real performance hit.
- Implement the three access filters.
User interface changes
None directly, but site builders will get an option in Views to filter out addresses the user should not have access to.
A patch will follow.