Mailinglist Archive: opensuse-buildservice (90 mails)

< Previous Next >
Re: [opensuse-buildservice] How to maintain user accounts on own obs instance
On Montag, 20. Februar 2017, 13:36:06 CET wrote Christian:
Am 20.02.2017 um 13:27 schrieb Adrian Schröter:
On Montag, 20. Februar 2017, 13:23:17 CET wrote Christian:
is there a mass change possible ?
I want to select and delete all 'unconfirmed' users.

Either use the rails console or via the api:
Don't know rails console ...


osc api -X POST /person/$user?cmd=delete
admin@lap:~> osc -A obs api -X POST /person/JosephGar?cmd=delete
Server returned an error: HTTP Error 400: Bad Request
Allowed commands are 'change_password'

right, that is OBS 2.8 feature ...
(beta 1 is almost there, just update before ;)

And when in webui on 'next' List, it switches back to 'first' list after
action ... annoying.

how to get rid of 'deleted' users ?
how to get rid of 'registration' ?

osc api -e /configuration

and set

<registration>allow</registration>



--

Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg
Germany


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups