#23903. Moved permission to proper module, fixed locales.