User roles and authorities

Hi,
having a problem with user roles: i have one user role «User admin» and one «User». The «User admin» should be able to see, add and edit users with «User» role. I’ve gone through the authorities, and confirmed that all authorities in «User» is also assigned to «User admin», but when a user with «User admin» role is adding a user, the «User» role is not listed.

I’ve so far tried:

  • Removing all authorities from «User», saving, them adding them back

  • Cleared nginx, dhis and browser cache

  • verified in the database (userroleauthorities) that «User admin» does in fact have all authorities of «User»

This is the authorities for the two roles:

User admin:

99073 | F_USER_ADD

99073 | F_REPORT_DELETE

99073 | F_USER_VIEW

99073 | F_USER_DELETE

99073 | M_dhis-web-maintenance-user

99073 | M_dhis-web-reporting

99073 | M_dhis-web-pivot

99073 | M_dhis-web-dashboard-integration

99073 | M_dhis-web-validationrule

99073 | M_dhis-web-mapping

99073 | F_REPORT_PRIVATE_ADD

99073 | M_dhis-web-visualizer

User:

92559 | F_REPORT_DELETE

92559 | M_dhis-web-pivot

92559 | M_dhis-web-dashboard-integration

92559 | M_dhis-web-reporting

92559 | F_REPORT_PRIVATE_ADD

92559 | M_dhis-web-validationrule

92559 | M_dhis-web-mapping

Any advice?

Olav