Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to filter out appservice users when listing users #47

Open
Cadair opened this issue Nov 29, 2021 · 4 comments
Open

Add an option to filter out appservice users when listing users #47

Cadair opened this issue Nov 29, 2021 · 4 comments
Labels
feature Feature request, not a core feature

Comments

@Cadair
Copy link

Cadair commented Nov 29, 2021

Thanks for the awesome tool. I have loads of AS users and a few "regular" users on my server, I rarely want to operate on the AS users in the same way I want to operate on the regular ones.

@JOJ0
Copy link
Owner

JOJ0 commented Nov 29, 2021

hi, you have an example synadm output (preferrably in pprint or yaml mode) and can tell me how to distinguish between appservice and regular users. Too lazy to research myself on what appservice users are atm.
Thanks! I might be able to help, we'll see...

@JOJ0
Copy link
Owner

JOJ0 commented Nov 30, 2021

@Cadair Hi, please shed some light on your request if tou find the time.

I think I have an idea what you mean. appservice as in using appservice bridges. Anyway, I dont have experience with that. Send an example output an I'll help you filter an we think about whether or not this should be dirrctly supported within synadm.

@Friskygote
Copy link
Contributor

Friskygote commented Feb 4, 2022

There doesn't seem to be any way to recognize appservice user from not appservice user in Synapse's Admin API output at the moment. The best I could think of would require reading synapse config files to get reserved user id and compare that with Admin API output however that would be pretty complex.
On Synapse repo there is a similar feature request that would exclude appservice users in user list API output (matrix-org/synapse#11202).

@JOJ0
Copy link
Owner

JOJ0 commented Feb 24, 2022

Thanks for the note and issue linke @Friskygote. So this might be taken care of on Synapse's side. Let's just keep watching the issue ;-) BTW I edited your post to link directly to the Synapse issue, so it now shows up over there and links back to here :-)

@JOJ0 JOJ0 added the feature Feature request, not a core feature label Feb 24, 2022
JOJ0 added a commit that referenced this issue Oct 31, 2022
Was accidently kicked out while merging master into PR #47 branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, not a core feature
Projects
None yet
Development

No branches or pull requests

3 participants