Multi-User Restricted Access with Python Eve
问题 Currently, Eve v0.4 supports User-Restricted Resource Access via the 'auth_field', but it seems to be designed to automatically handle the single-owner case. How would you enable multi-user restricted access, where a user is allowed to view the resource if their id was included in an array of permitted ids? Potentially with multiple lists for separate read and write permissions. 回答1: I wrote a small hack for EVE which is adding this functionality. Maybe it's a little bit tricky, but it works.