On 03/30/2017 08:01 PM, Stephen J. Turnbull wrote: > Barry Warsaw writes: > > > up on the state of the art, but IIRC, there were Python libraries that > could > > generate bindings based on WADL. > > That sounds cool, but I tend to feel that WADL gets pretty heavy. If > we can't just mark things with something like "@exported_REST", it's > not clear that the maintenance burden is worth it.
This would also go well with an idea I had about the current state of the REST API and encrypted lists. With having decorators like "@exported_REST", another one could get introduced, something like "@requires_permission("some.perm.name")" which would introduce permission-based granularity to the REST API. Then multiple user:password pairs could be specified in a config with different permissions and so Mailman could provide different levels of API access to different apps. Although, reading Barry's message again, this may not be possible / maintainable. -Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9