Is there a way to get list of server_owners from REST API?

I can see it is possible to make a user a “server_owner”.
Thus I can check a user to see if they are a server_owner.
Is there a way to get a list of all server_owners?
thanks

On Jul 11, 2015, at 02:18 PM, Andrew Stuart wrote:
Is there a way to get a list of all server_owners?
Not currently without iterating over all users.
Maybe there should be a resource like /users/server_owners?
That should be pretty easy to implement.
Cheers, -Barry

I don’t think I need it right now - I’m doing authorisation stuff and I think I always know the user in question.
But I can imagine that people writing applications might like to be able to get a complete list of people with server_owner rights, so it would be woth adding at some point.
Yes either at /users/server_owners or some endpoint relating to system/configuration/server_owners perhaps.
as
On 11 Jul 2015, at 2:24 pm, Barry Warsaw <barry@list.org> wrote:
On Jul 11, 2015, at 02:18 PM, Andrew Stuart wrote:
Is there a way to get a list of all server_owners?
Not currently without iterating over all users.
Maybe there should be a resource like /users/server_owners?
That should be pretty easy to implement.
Cheers, -Barry
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/andrew.stuart%40s...
Security Policy: http://wiki.list.org/x/QIA9

On Jul 11, 2015, at 02:38 PM, Andrew Stuart wrote:
But I can imagine that people writing applications might like to be able to get a complete list of people with server_owner rights, so it would be woth adding at some point.
Can you file a bug on gitlab?
Cheers, -Barry
participants (2)
-
Andrew Stuart
-
Barry Warsaw