Bulk user login creadential

Hello Team,

This is regarding creating user, on web site admin gives access to user
with login name and password, can we create multiple users in one time,
like can we create a sheet of users with there name and password, and
upload it to server?

Yes. In the add user text entry box, you can enter space-separated list of
users (or paste in a list of users on multiple lines). I think
comma-separated lists also work.

The pain point is that you have to individually change each of their
passwords.

ยทยทยท On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani wrote:

Hello Team,

This is regarding creating user, on web site admin gives access to user
with login name and password, can we create multiple users in one time,
like can we create a sheet of users with there name and password, and
upload it to server?

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Yes. In the add user text entry box, you can enter space-separated list of users (or paste in a list of users on multiple lines). I think comma-separated lists also work.

The pain point is that you have to individually change each of their passwords.

Hello Team,

This is regarding creating user, on web site admin gives access to user with login name and password, can we create multiple users in one time, like can we create a sheet of users with there name and password, and upload it to server?

--

You received this message because you are subscribed to the Google Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Mitch

There should be a provision to upload an excel with the details as well as the passwords else its very time consuming to do this manual work. Pls see if this could be done in the next builds

ยทยทยท On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote: > On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani wrote:

Agreed that this would be a nice feature. If this is important to you,
the best way to ensure it happens is to contribute code. You can find
the code base at http://github.com/opendatakit/aggregate.

Yaw

ยทยทยท -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Fri, Jan 29, 2016 at 9:55 AM, raman@codecube.in wrote:

On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote:

Yes. In the add user text entry box, you can enter space-separated list of users (or paste in a list of users on multiple lines). I think comma-separated lists also work.

The pain point is that you have to individually change each of their passwords.

On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani se...@vartulz.com wrote:

Hello Team,

This is regarding creating user, on web site admin gives access to user with login name and password, can we create multiple users in one time, like can we create a sheet of users with there name and password, and upload it to server?

--

You received this message because you are subscribed to the Google Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Mitch

There should be a provision to upload an excel with the details as well as the passwords else its very time consuming to do this manual work. Pls see if this could be done in the next builds

--
You received this message because you are subscribed to the Google Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Great, we will try and see what we can do for the ODK platform. I will ask
my tech head to take this ahead.

Thanks for a great platform.

*-- *
Rgds
Ramandeep Singh
www.codecube.in
Mob - +91 - 98108 69975
Skype - raman_egov
Twitter - @Code_Cube

>>>>> DO check out our amazing work on Pinterest http://bit.ly/K0IAiy
http://bit.ly/K0IAiy <<<<<

ยทยทยท On Fri, Jan 29, 2016 at 2:31 PM, Yaw Anokwa wrote:

Agreed that this would be a nice feature. If this is important to you,
the best way to ensure it happens is to contribute code. You can find
the code base at http://github.com/opendatakit/aggregate.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Fri, Jan 29, 2016 at 9:55 AM, raman@codecube.in wrote:

On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote:

Yes. In the add user text entry box, you can enter space-separated
list of users (or paste in a list of users on multiple lines). I think
comma-separated lists also work.

The pain point is that you have to individually change each of their
passwords.

On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani se...@vartulz.com wrote:

Hello Team,

This is regarding creating user, on web site admin gives access to user
with login name and password, can we create multiple users in one time,
like can we create a sheet of users with there name and password, and
upload it to server?

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Mitch

There should be a provision to upload an excel with the details as well
as the passwords else its very time consuming to do this manual work. Pls
see if this could be done in the next builds

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/hg8Fyfeux-o/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Ramandeep / ODK team,

Similar to this, I am needing to create new users via an API call (we want
to be able to allow new users registering via our platform to be
auto-assigned an ODK login).

Ramandeep, were you able to modify the code to allow upload of an Excel
file?

ODK team - any suggestions/guidance on where to start providing API
functionality to create new users?

Thanks and regards,
Andrew

ยทยทยท On Friday, 29 January 2016 11:04:34 UTC+2, Ramandeep Singh Bakshi wrote: > > Great, we will try and see what we can do for the ODK platform. I will ask > my tech head to take this ahead. > > Thanks for a great platform. > > > *-- * > Rgds > *Ramandeep Singh* > www.codecube.in > Mob - +91 - 98108 69975 > Skype - raman_egov > Twitter - @Code_Cube > > > *>>>>> DO check out our amazing work on Pinterest http://bit.ly/K0IAiy > <<< > On Fri, Jan 29, 2016 at 2:31 PM, Yaw Anokwa <yan...@nafundi.com > wrote: > >> Agreed that this would be a nice feature. If this is important to you, >> the best way to ensure it happens is to contribute code. You can find >> the code base at http://github.com/opendatakit/aggregate. >> >> Yaw >> -- >> Need ODK consultants? Nafundi provides form design, server setup, >> in-field training, and software development for ODK. Go to >> https://nafundi.com to get started. >> >> On Fri, Jan 29, 2016 at 9:55 AM, <ra...@codecube.in > wrote: >> > On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote: >> >> Yes. In the add user text entry box, you can enter space-separated >> list of users (or paste in a list of users on multiple lines). I think >> comma-separated lists also work. >> >> >> >> >> >> The pain point is that you have to individually change each of their >> passwords. >> >> >> >> >> >> On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani wrote: >> >> >> >> Hello Team, >> >> >> >> >> >> This is regarding creating user, on web site admin gives access to >> user with login name and password, can we create multiple users in one >> time, like can we create a sheet of users with there name and password, and >> upload it to server? >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> You received this message because you are subscribed to the Google >> Groups "ODK Developers" group. >> >> >> >> To unsubscribe from this group and stop receiving emails from it, send >> an email to opendatakit-developers+unsubscribe@googlegroups.com >> . >> >> >> >> For more options, visit https://groups.google.com/d/optout. >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Mitch Sundt >> >> Software Engineer >> >> University of Washington >> >> mitche...@gmail.com >> > >> > Mitch >> > >> > There should be a provision to upload an excel with the details as well >> as the passwords else its very time consuming to do this manual work. Pls >> see if this could be done in the next builds >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "ODK Developers" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to opendatakit-developers+unsubscribe@googlegroups.com >> . >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "ODK Developers" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/opendatakit-developers/hg8Fyfeux-o/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> opendatakit-developers+unsubscribe@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >
1 Like

If you are hosting on MySQL or PostgreSQL, you could probably write a
database script to do this.

Otherwise, you could mimic the structure of the ODK Aggregate
upload-form-definition servlet:

And, instead of using the javarosa parser to parse it, do the construction
for the security settings.

The security permissions settings are intended to be all-at-once changes.
I.e., you can't just add one user. The Java code expects a set of all
users, and all of their permissions. It then replaces the existing
configuration with that new configuration. See
setUsersAndGrantedAuthorities:

The passwords for the users must be individually set through a different
API:

That is called from the web page via a servlet:

When you add a new servlet, in addition to changing web.xml, you need to
update the site security rules here:
https://github.com/opendatakit/aggregate/blob/master/war-base/WEB-INF/applicationContext-security.xml

ยทยทยท On Wed, May 25, 2016 at 3:42 AM, Andrew wrote:

Hi Ramandeep / ODK team,

Similar to this, I am needing to create new users via an API call (we want
to be able to allow new users registering via our platform to be
auto-assigned an ODK login).

Ramandeep, were you able to modify the code to allow upload of an Excel
file?

ODK team - any suggestions/guidance on where to start providing API
functionality to create new users?

Thanks and regards,
Andrew

On Friday, 29 January 2016 11:04:34 UTC+2, Ramandeep Singh Bakshi wrote:

Great, we will try and see what we can do for the ODK platform. I will
ask my tech head to take this ahead.

Thanks for a great platform.

*-- *
Rgds
Ramandeep Singh
www.codecube.in
Mob - +91 - 98108 69975
Skype - raman_egov
Twitter - @Code_Cube

>>>>> DO check out our amazing work on Pinterest http://bit.ly/K0IAiy
http://bit.ly/K0IAiy <<<<<

On Fri, Jan 29, 2016 at 2:31 PM, Yaw Anokwa yan...@nafundi.com wrote:

Agreed that this would be a nice feature. If this is important to you,
the best way to ensure it happens is to contribute code. You can find
the code base at http://github.com/opendatakit/aggregate.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Fri, Jan 29, 2016 at 9:55 AM, ra...@codecube.in wrote:

On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote:

Yes. In the add user text entry box, you can enter space-separated
list of users (or paste in a list of users on multiple lines). I think
comma-separated lists also work.

The pain point is that you have to individually change each of their
passwords.

On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani se...@vartulz.com wrote:

Hello Team,

This is regarding creating user, on web site admin gives access to
user with login name and password, can we create multiple users in one
time, like can we create a sheet of users with there name and password, and
upload it to server?

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Mitch

There should be a provision to upload an excel with the details as
well as the passwords else its very time consuming to do this manual work.
Pls see if this could be done in the next builds

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/hg8Fyfeux-o/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Great, thanks for the detailed response, exactly the type of info I was
after.

Regards,
Andrew

ยทยทยท On Wednesday, 25 May 2016 19:15:51 UTC+2, Mitch wrote: > > If you are hosting on MySQL or PostgreSQL, you could probably write a > database script to do this. > > Otherwise, you could mimic the structure of the ODK Aggregate > upload-form-definition servlet: > > > https://github.com/opendatakit/aggregate/blob/master/src/main/java/org/opendatakit/aggregate/servlet/FormUploadServlet.java > > And, instead of using the javarosa parser to parse it, do the construction > for the security settings. > > The security permissions settings are intended to be all-at-once changes. > I.e., you can't just add one user. The Java code expects a set of all > users, and all of their permissions. It then replaces the existing > configuration with that new configuration. See > setUsersAndGrantedAuthorities: > > > https://github.com/opendatakit/aggregate/blob/master/src/main/java/org/opendatakit/common/security/server/SecurityAdminServiceImpl.java > > The passwords for the users must be individually set through a different > API: > > > https://github.com/opendatakit/aggregate/blob/master/src/main/java/org/opendatakit/common/security/server/SecurityServiceUtil.java#L602 > > That is called from the web page via a servlet: > > > https://github.com/opendatakit/aggregate/blob/master/src/main/java/org/opendatakit/aggregate/servlet/UserManagePasswordsServlet.java > > When you add a new servlet, in addition to changing web.xml, you need to > update the site security rules here: > > https://github.com/opendatakit/aggregate/blob/master/war-base/WEB-INF/applicationContext-security.xml > > > On Wed, May 25, 2016 at 3:42 AM, Andrew <acawo...@gmail.com > wrote: > >> Hi Ramandeep / ODK team, >> >> Similar to this, I am needing to create new users via an API call (we >> want to be able to allow new users registering via our platform to be >> auto-assigned an ODK login). >> >> Ramandeep, were you able to modify the code to allow upload of an Excel >> file? >> >> ODK team - any suggestions/guidance on where to start providing API >> functionality to create new users? >> >> Thanks and regards, >> Andrew >> >> >> >> On Friday, 29 January 2016 11:04:34 UTC+2, Ramandeep Singh Bakshi wrote: >>> >>> Great, we will try and see what we can do for the ODK platform. I will >>> ask my tech head to take this ahead. >>> >>> Thanks for a great platform. >>> >>> >>> *-- * >>> Rgds >>> *Ramandeep Singh* >>> www.codecube.in >>> Mob - +91 - 98108 69975 >>> Skype - raman_egov >>> Twitter - @Code_Cube >>> >>> >>> *>>>>> DO check out our amazing work on Pinterest http://bit.ly/K0IAiy >>> <<<>> >>> On Fri, Jan 29, 2016 at 2:31 PM, Yaw Anokwa wrote: >>> >>>> Agreed that this would be a nice feature. If this is important to you, >>>> the best way to ensure it happens is to contribute code. You can find >>>> the code base at http://github.com/opendatakit/aggregate. >>>> >>>> Yaw >>>> -- >>>> Need ODK consultants? Nafundi provides form design, server setup, >>>> in-field training, and software development for ODK. Go to >>>> https://nafundi.com to get started. >>>> >>>> On Fri, Jan 29, 2016 at 9:55 AM, wrote: >>>> > On Wednesday, January 27, 2016 at 10:58:23 PM UTC+5:30, Mitch wrote: >>>> >> Yes. In the add user text entry box, you can enter space-separated >>>> list of users (or paste in a list of users on multiple lines). I think >>>> comma-separated lists also work. >>>> >> >>>> >> >>>> >> The pain point is that you have to individually change each of their >>>> passwords. >>>> >> >>>> >> >>>> >> On Wed, Jan 27, 2016 at 3:24 AM, Seema Rani wrote: >>>> >> >>>> >> Hello Team, >>>> >> >>>> >> >>>> >> This is regarding creating user, on web site admin gives access to >>>> user with login name and password, can we create multiple users in one >>>> time, like can we create a sheet of users with there name and password, and >>>> upload it to server? >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> -- >>>> >> >>>> >> You received this message because you are subscribed to the Google >>>> Groups "ODK Developers" group. >>>> >> >>>> >> To unsubscribe from this group and stop receiving emails from it, >>>> send an email to opendatakit-developers+unsubscribe@googlegroups.com. >>>> >> >>>> >> For more options, visit https://groups.google.com/d/optout. >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> -- >>>> >> >>>> >> Mitch Sundt >>>> >> Software Engineer >>>> >> University of Washington >>>> >> mitche...@gmail.com >>>> > >>>> > Mitch >>>> > >>>> > There should be a provision to upload an excel with the details as >>>> well as the passwords else its very time consuming to do this manual work. >>>> Pls see if this could be done in the next builds >>>> > >>>> > -- >>>> > You received this message because you are subscribed to the Google >>>> Groups "ODK Developers" group. >>>> > To unsubscribe from this group and stop receiving emails from it, >>>> send an email to opendatakit-developers+unsubscribe@googlegroups.com. >>>> > For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "ODK Developers" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/opendatakit-developers/hg8Fyfeux-o/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> opendatakit-developers+unsubscribe@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "ODK Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit-developers+unsubscribe@googlegroups.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >