WordPress.org

Making WordPress.org

Opened 3 weeks ago

Closed 3 weeks ago

#5267 closed defect (fixed)

Unable to create new users on Spanish Rosetta site

Reported by: casiepa Owned by:
Milestone: Priority: normal
Component: International Sites (Rosetta) Keywords:
Cc:

Description

Link https://es.wordpress.org/wp-admin/user-new.php is only showing a possibility to add new locale managers. No possibility to add authors or editors.

Comparing with e.g https://fr.wordpress.org/wp-admin/user-new.php where the full list is available.

Attachments (1)

Capture.PNG (45.2 KB) - added by casiepa 3 weeks ago.

Download all attachments as: .zip

Change History (6)

@casiepa
3 weeks ago

This ticket was mentioned in Slack in #meta by casiepa. View the logs.


3 weeks ago

#2 @ocean90
3 weeks ago

Some research results:

"SELECT * FROM $wpdb->options WHERE option_name LIKE '%user_roles'" should only return one result but the following sites have more than one:

tr.wordpress.org (41):
2 OPTIONS (2x wporg_41_user_roles)
pt.wordpress.org (58):
66 OPTIONS (1x wporg_58_user_roles, 65 for ros_<id>_user_roles)
es.wordpress.org (64):
2 OPTIONS (2x wporg_64_user_roles)

A site should have 8 roles, the following sites have less or more:

fr.wordpress.org (40):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
tr.wordpress.org (41):
locale_manager, general_translation_editor, translation_editor
ja.wordpress.org (42):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
ko.wordpress.org (45):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
sr.wordpress.org (56):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
pt.wordpress.org (58):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
fa.wordpress.org (60):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
es.wordpress.org (64):
locale_manager, general_translation_editor, translation_editor
hu.wordpress.org (74):
locale_manager, general_translation_editor, translation_editor
nl.wordpress.org (82):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
ve.wordpress.org (91):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
ro.wordpress.org (93):
translation_editor, genereal_translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber
ka.wordpress.org (102):
translation_editor, genereal_translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber
gl.wordpress.org (103):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
dv.wordpress.org (126):
validator, translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber
bn.wordpress.org (140):
locale_manager, general_translation_editor, translation_editor
es-mx.wordpress.org (160):
translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber, helphub_editor, helphub_manager
ltz.wordpress.org (180):
validator, translation_editor, general_translation_editor, locale_manager, editor, administrator, author, contributor, subscriber
pt-ao.wordpress.org (635):
administrator, editor, author, contributor, subscriber, locale_manager, general_translation_editor, translation_editor, helphub_editor, helphub_manager

After removing the broken helphub_editor, helphub_manager, validator and genereal_translation_editor roles we're down to four sites with incomplete roles:

tr.wordpress.org (41):
locale_manager, general_translation_editor, translation_editor
es.wordpress.org (64):
locale_manager, general_translation_editor, translation_editor
hu.wordpress.org (74):
locale_manager, general_translation_editor, translation_editor
bn.wordpress.org (140):
locale_manager, general_translation_editor, translation_editor

#3 @ocean90
3 weeks ago

Roles restored via WP-CLI

wp --url=hu.wordpress.org role reset subscriber contributor author editor administrator
wp --url=es.wordpress.org role reset subscriber contributor author editor administrator
wp --url=tr.wordpress.org role reset subscriber contributor author editor administrator
wp --url=bn.wordpress.org role reset subscriber contributor author editor administrator

#4 @fernandot
3 weeks ago

Solved!

Thank You!

Now I can change roles and add users with any role.

#5 @casiepa
3 weeks ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.