Download & Extend

Add Views2 API integration to 6.x

Project:SSH Key
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

The Views integration for 6.x at least should be easy since the only entity type is actually just users.

Having this integration would be very useful, for example, for pulling out a list of keys for all users of a certain role.

Comments

#1

Status:active» needs review

This seems to be working well - in combination with views bonus back TXT output (plus tweaking the tpl file for that) I can make an View of users + key fingerprints and attach a TXT output of all their keys.

AttachmentSizeStatusTest resultOperations
1128876-views-api-1-D6.patch3.63 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» needs work

If modules added support for nodes or other entities, wouldn't this integration break? Seems like there's nothing to prevent this from matching a valid UID, but an entry that has entity_type <> 'user'.

#3

Ok, well I thought this module only supported users for 6.x, so I didn't consider that a realistic option.