Exporting/importing User meta-data

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”[]" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”[]“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“[]” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]

···

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Hi Calle

Would you mind filing a bug in Jira? easier to track it that way

···

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle

···

On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Hi

Just talked to Elmarie - she think the problem might be related to passwords not being recognised because they are somehow linked to the ID in the User table… And that rings a bell - but if correct, it basically means that users cannot be exported from one instance to another…

Regards

Calle

···

On 6 February 2017 at 10:42, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle

On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Hi Calle

User passwords are not exported, that is correct… but that has never worked. What -is- supported is to import user with a -new- passowrd, so you can do userCredentials.passowrd: “new password for me” and it will be encrypted and stored in the instance… but password are not exported, and not importable as hashes

···

On Mon, Feb 6, 2017 at 3:58 PM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi

Just talked to Elmarie - she think the problem might be related to passwords not being recognised because they are somehow linked to the ID in the User table… And that rings a bell - but if correct, it basically means that users cannot be exported from one instance to another…

Regards

Calle

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On 6 February 2017 at 10:42, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten,

Mmm - but if that’s the case, why the radically different result for:

Case 1: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.24). When imported into a slightly different instance where 95% of users where the same, EVERY SINGLE user were ignored.

Case 2: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.25). When imported into the same instance, all where flagged as “updated” and none ignored.

So there might be a bug in 2.24, then…

Regards

Calle

···

On 6 February 2017 at 11:01, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

User passwords are not exported, that is correct… but that has never worked. What -is- supported is to import user with a -new- passowrd, so you can do userCredentials.passowrd: “new password for me” and it will be encrypted and stored in the instance… but password are not exported, and not importable as hashes

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 3:58 PM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi

Just talked to Elmarie - she think the problem might be related to passwords not being recognised because they are somehow linked to the ID in the User table… And that rings a bell - but if correct, it basically means that users cannot be exported from one instance to another…

Regards

Calle

On 6 February 2017 at 10:42, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten

I’ve created a JIRA bug issue - dhis2-664

Regards

Calle

···

On 6 February 2017 at 11:15, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten,

Mmm - but if that’s the case, why the radically different result for:

Case 1: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.24). When imported into a slightly different instance where 95% of users where the same, EVERY SINGLE user were ignored.

Case 2: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.25). When imported into the same instance, all where flagged as “updated” and none ignored.

So there might be a bug in 2.24, then…

Regards

Calle

On 6 February 2017 at 11:01, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

User passwords are not exported, that is correct… but that has never worked. What -is- supported is to import user with a -new- passowrd, so you can do userCredentials.passowrd: “new password for me” and it will be encrypted and stored in the instance… but password are not exported, and not importable as hashes


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 3:58 PM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi

Just talked to Elmarie - she think the problem might be related to passwords not being recognised because they are somehow linked to the ID in the User table… And that rings a bell - but if correct, it basically means that users cannot be exported from one instance to another…

Regards

Calle

On 6 February 2017 at 10:42, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Sounds like a bug in 224 yes. I will have to look into it, it might take some time (as these issues often do…)

···

On Mon, Feb 6, 2017 at 5:52 PM, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

I’ve created a JIRA bug issue - dhis2-664

Regards

Calle

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On 6 February 2017 at 11:15, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten,

Mmm - but if that’s the case, why the radically different result for:

Case 1: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.24). When imported into a slightly different instance where 95% of users where the same, EVERY SINGLE user were ignored.

Case 2: Selected Export Meta-date with sharing → Users (only that ticked) → JSON format (2.25). When imported into the same instance, all where flagged as “updated” and none ignored.

So there might be a bug in 2.24, then…

Regards

Calle


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


On 6 February 2017 at 11:01, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

User passwords are not exported, that is correct… but that has never worked. What -is- supported is to import user with a -new- passowrd, so you can do userCredentials.passowrd: “new password for me” and it will be encrypted and stored in the instance… but password are not exported, and not importable as hashes


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 3:58 PM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi

Just talked to Elmarie - she think the problem might be related to passwords not being recognised because they are somehow linked to the ID in the User table… And that rings a bell - but if correct, it basically means that users cannot be exported from one instance to another…

Regards

Calle

On 6 February 2017 at 10:42, Calle Hedberg calle.hedberg@gmail.com wrote:

Morten

Sure - I just wanted to know if (1) it’s a known bug; and (2) what kind of bug it is. Somebody else must have encountered the same, and I’ve got a feeling I saw some posting related to this (might even have been Elmarie, cannot recall).

Regards

Calle


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


On 6 February 2017 at 09:43, Morten Olav Hansen morten@dhis2.org wrote:

Hi Calle

Would you mind filing a bug in Jira? easier to track it that way


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, Feb 6, 2017 at 6:53 AM, Calle Hedberg calle.hedberg@gmail.com wrote:

Hi,

I tried to export “Users” meta-data in 2.24 earlier this evening, and then import it into another slightly different version of the same instance (when logged in as superuser).

Every single user was ignored during import, and every single one had an import summary error message like the one below.

Anybody able to figure out what’s blocking the import in this case? I do see the ““teiSearchOrganisationUnits”:”" } is not allowed to grant users access to user role" sections which looks like some kind of error, but I don’t know what that section actually means.

(I later tried to export and import “Users” meta-data in the same 2.25 instance - that worked without a hitch).

Regards

Calle

Validation Violations: [ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60273”, “uid”:“ckj7ljweNzk”, “code”:“null”, “name”:“User Managed Groups”, “created”:“2015-06-24 17:05:03.418”, “lastUpdated”:“2016-06-15 15:45:57.802” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60260”, “uid”:“qVea8y6GIok”, “code”:“null”, “name”:“NDD Metadata Control”, “created”:“2015-06-24 15:36:18.208”, “lastUpdated”:“2016-06-15 15:45:57.679” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60262”, “uid”:“eHj9hsCVkcA”, “code”:“null”, “name”:“Import/Export Data”, “created”:“2015-06-24 17:08:45.565”, “lastUpdated”:“2016-06-15 15:45:57.695” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“47”, “uid”:“saLI2pdSaI7”, “code”:“null”, “name”:“Superuser”, “created”:“2013-11-07 02:03:36.984”, “lastUpdated”:“2016-12-12 18:05:49.426” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60275”, “uid”:“IIHtF38fD7j”, “code”:“null”, “name”:“User Control”, “created”:“2015-06-24 16:53:03.863”, “lastUpdated”:“2016-06-15 15:45:57.809” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user role {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“60274”, “uid”:“qtnKmExIOyX”, “code”:“null”, “name”:“Create User”, “created”:“2015-06-24 17:00:22.09”, “lastUpdated”:“2016-06-15 15:45:57.779” }., errorCode=E3003, mainKlass=class org.hisp.dhis.user.UserAuthorityGroup, errorKlass=null, value=null}, ErrorReport{message=User {“id”:“0”, “uid”:“V0643n3eCBk”, “code”:“null”, “created”:“Tue May 03 15:44:05 CAT 2016”, “lastUpdated”:“Tue May 03 15:44:05 CAT 2016”, “surname”:“User”, “firstName”:“Demo”, “email”:“null”, “phoneNumber”:“null”, “jobTitle”:“null”, “introduction”:“null”, “gender”:“null”, “birthday”:“null”, “nationality”:“null”, “employer”:“null”, “education”:“null”, “interests”:“null”, “languages”:“null”, “lastCheckedInterpretations”:“null”, “userCredentials”:“{“username”:“Demo_User”, “openId”:“null”, “password”:”$2a$10$CNhU7EJFD5X53qDd/F6DyuyVH99JUoWEX6vLFUWC7k4rL7SUzb.kG", “passwordLastUpdated”:“Tue May 03 15:44:04 CAT 2016”, “userAuthorityGroups”:“[{“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“aWAMSmyKe4b”, “code”:“null”, “name”:“Data capturer - Event”, “created”:“Thu Jun 25 09:06:05 CAT 2015”, “lastUpdated”:“Wed Dec 21 09:20:24 CAT 2016” }, {“class”:“class org.hisp.dhis.user.UserAuthorityGroup”, “id”:“0”, “uid”:“tnNVBu5cxxZ”, “code”:“null”, “name”:“Dashboard”, “created”:“Thu Jul 23 17:18:16 CAT 2015”, “lastUpdated”:“Mon Jun 20 08:59:15 CAT 2016” }]”, “lastLogin”:“Tue May 03 15:44:04 CAT 2016”, “restoreToken”:“null”, “restoreCode”:“null”, “restoreExpiry”:“null”, “selfRegistered”:“false”, “disabled”:“false” }“, “groups”:”“, “organisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]“, “dataViewOrganisationUnits”:”[{“class”:“class org.hisp.dhis.organisationunit.OrganisationUnit”, “id”:“0”, “uid”:“kWi0HuwZ68H”, “code”:“null”, “name”:“Ministry of Health and Social Services”, “created”:“Mon Aug 10 08:57:03 CAT 2015”, “lastUpdated”:“Thu Jun 16 11:53:40 CAT 2016” }]" “teiSearchOrganisationUnits”:“” } is not allowed to grant users access to user groups., errorCode=E3004, mainKlass=class org.hisp.dhis.user.UserGroup, errorKlass=null, value=null}]


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg



Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp