WordPress.org

Brasil

  • Temas
  • Plugins
  • Novidades
    • Documentação
    • Fóruns
  • Sobre
    • Participe da comunidade
    • Guias e diretrizes
  • Baixar o WordPress
Baixar o WordPress
WordPress.org

Plugin Directory

Protect Admin

  • Enviar um plugin
  • Meus favoritos
  • Acessar
  • Enviar um plugin
  • Meus favoritos
  • Acessar

Protect Admin

Por KeystrokeClick
Baixar
  • Detalhes
  • Avaliações
  • Instalação
  • Desenvolvimento
Suporte

Descrição

This plugin protects selected WP Admin accounts, and standard posts created by those Admins, from being deleted or edited by other users. This plugin is hidden from all users other than the Admin who installs it. Only users with the “Administrator” role can be protected.

This plugin might be useful if you want to share admin access with other users (i.e. IT team, developers, etc) but don’t want to risk impacting the accounts of certain Admins. Or, perhaps you’re the developer or IT member who might need this plugin to prevent other non-technical Admins from accidentally deleting your account or key Admins on specific projects.

Como funciona

  • As soon as the plugin is activated, it will store the ID of the user that activates the plugin. The plugin will then be hidden from all users other than this user.

  • You can choose which Admin accounts (yours or others) to protect. Only the Admin who activates the plugin can save its settings. Other users won’t see the Settings page or the menu.

  • Once protected admin accounts are selected on the Settings page, other users and admins will NOT be able to:

    • delete the protected Admin accounts.
    • access the profile edit page for the protected Admin accounts.
    • change the role of the protected Admin accounts.
    • select the protected Admin accounts in the bulk actions on users list page.
  • Additionally, if other users or Admins, under unlikely circumstances, are able to access the user profile page of the protected Admin accounts using other plugins, this plugin will prevent any modifications from being saved.

  • Similar to the above, if other users or Admins are able to change the protected Admin account’s email address via the Profile page, this plugin will revert it back to the original email address.

  • Also, should someone attempt to edit a protected Admin’s account, the attempted action will be logged to the database. You can view recent attempts under Logs within the plugin’s section.

Lembrete importante

Once you deactivate the plugin, all users with the ability to manage plugins (activate_plugins capability) will be able to see the plugin. It is advised to only deactivate the plugin when you feel safe to do so. Otherwise you can just enable or disable protection from the plugin’s Settings page.

If you want to be extra cautious (depending on your needs), you should also manually disallow file edit. This plugin doesn’t do that because some people might still need it.

define( 'DISALLOW_FILE_EDIT', true );

Este plugin NÃO foi testado com outros plugins de gerenciamento de usuário ou plugins editores de função. Portanto, não é garantido que seu uso, em conjunto com esses tipos de plugins, funcione conforme o esperado.

Email Notification

You can choose to get notified by email when someone attempts to modify your protected Admin accounts. Easily enable or disable email notification when you upgrade to Protect Admin PRO.

Protect Admin PRO

  • Be the first to know when someone is attempting to modify your protected admin accounts.
  • Get access to all logs and data of users who try to modify the protected admin accounts (the FREE version only records the most recent attempt).
  • Protect standard posts and pages made directly by protected Admins.
  • See more.

Capturas de tela

  • Plugin setting page.
  • Exemplo da visualização da lista de usuários quando a proteção está ativa.
  • Erro exibido quando alguém tenta excluir a conta de administrador protegida.
  • Erro exibido quando alguém tenta alterar a função da conta de administrador protegida.
  • Erro exibido quando alguém tenta editar a conta de administrador protegida.

Instalação

  1. Enviar pasta do plugin para o diretório /wp-content/plugins/ ou instalar o plugin a partir do painel do WordPress, em Plugins > Adicionar novo.
  2. Ativar o plugin.
  3. Go to Users>User Protection to configure the plugin.

Perguntas frequentes

How can I get a notification email when someone attempts to modify my protected admin accounts?

You have to upgrade to the PRO version.

How can I see who are attempting to modify my protected admin accounts?

Login to your site, and then go to Users > User Protection. The details are shown at the bottom of the option page.

Can I protect more than one administrator account?

Yes! Since version 0.2.0, you can protect more than just one admin account.

Can I translate this plugin to my language?

Yes! You can find .pot file inside the /languages directory in the plugin’s root folder.

Este plugin funciona no multisite do WordPress?

Este plugin não foi testado no multisite do WordPress. Ele pode ou não funcionar em vários sites do WordPress.

Como eu posso proteger um usuário com funções personalizadas ou outras que não sejam de administrador?

No momento, apenas usuários com função de administrador podem ser protegidos. Isso pode mudar em futuras atualizações.

Avaliações

Absolutely awesome plugin

teeboy4real 14 fevereiro, 2025
This plugin has solved a basic need or requirement iv’e always had with wordpress. Please add this 2 features Prevent custom post types published by protected admins from being edited or deleted Prevent comments published by protected admins from being edited or deleted Thanks for creating this plugin

Does exactly what it says

Chris 20 fevereiro, 2023
Simple to use plugin and does exactly what it says. This should be party of all BuddyPress, BuddyBoss or any other membership addons. Thank you!

Very useful

mickhele 29 dezembro, 2021 1 resposta
I didn’t know how to protect the admin with id 1, and I solved the problem quickly and easily with this plugin. Even though I didn’t need more functions, I also bought the Pro version because I wanted to thank the developer with a small donation. I hope that it will be kept up to date because of its particular function in terms of security. Thanks!

very useful

dreamsoft 5 fevereiro, 2021 1 resposta
thanks for this very useful plugin!

Great plugin! Saved me!

tosasilviu 26 março, 2020
Works like a champ. Thank you.
Leia todas as 5 avaliações

Colaboradores e desenvolvedores

“Protect Admin” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores
  • KeystrokeClick
  • 10Horizons Plugins

Protect Admin” foi traduzido para 1 localidade. Agradecemos aos tradutores por suas contribuições.

Traduzir o “Protect Admin” para seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.

Registro de alterações

2.1.5

  • Updated Freemius SDK
  • Compatibility check

2.1.4

  • Compatibility check

2.1.3

  • Updated Freemius SDK
  • Compatibility check

2.1.2

  • Updated Freemius SDK
  • Compatibility check

2.1.1

  • Updated Freemius SDK
  • Compatibility check

2.1.0

  • Integrated Freemius affiliates system
  • Compatibility check

2.0.5

  • Fix: PHP Warning for strpos and str_replace functions
  • Updated Freemius SDK
  • Compatibility check

2.0.4

  • Added new option to protect BuddyPress contents.
  • Compatibility check

2.0.2

  • Removed Activation section and “enable protection” checkbox.
  • Removed Notification message
  • Updated Freemius SDK
  • Compatibility check

2.0.1

  • Fix: Problem in Users admin page when no configured protected users yet

2.0.0

  • Platform functionality integration

1.1.1

  • Fix: Remove “delete” link on users table

1.1.0

  • Fix: Translation warning messages
  • Fix: Fails on saving empty checkbox

1.0.1

  • Fix: Better new features admin notices

1.0.0

  • New dashboard menu.
  • Submenu admin pages for Settings and Logs.
  • Option to protect posts created by protected admins from being edited or deleted.
  • Updated translation file.

0.4.3

  • Ownership updates.
  • Updated translation file.

0.4.2

  • Ownership change.

0.4.1

  • Bug fixed: Existing log data not saving on options page.
  • Updated translation file.

0.4.0

  • Added ability to log to the database when someone attempts to edit the protected accounts.
  • Added a section on the plugin option page where admin (plugin activator) can view the last 3 attempted actions.
  • Updated translation file.

0.3.1

  • Added new option for notification email.
  • Updated translation (.pot) file.

0.3.0

  • Added new action hook before wp_die instances.
  • Assigned 3 useful arguments for new action hook thp_paa_before_termination_wpdie.
  • Updated translation (.pot) file.

0.2.1

  • Added an additional security check before updating options.
  • Added function name check to avoid function name conflict.

0.2.0

  • Added new option and ability to protect more than one admin account.
  • Changed dropdown selection to tickboxes for list of admins on plugin setting page, now uses new array to store ID of protected users.
  • Added additional sanitization on update options line code.
  • Added .pot file for translation/i18n.

0.1.0

  • Lançamento inicial.

Meta

  • Versão 2.1.5
  • Última atualização 2 meses atrás
  • Instalações ativas 2.000+
  • Versão do WordPress 4.7 ou superior
  • Testado até 6.8.3
  • Versão do PHP 5.3 ou superior
  • Idiomas

    English (US) e Portuguese (Brazil).

    Traduzir para seu idioma

  • Tags
    adminprotectuser account
  • Visualização avançada

Classificações

5 de 5 estrelas.
  • 5 avaliações com 5 estrelas 5 estrelas 5
  • 0 avaliação com 4 estrela 4 estrelas 0
  • 0 avaliação com 3 estrela 3 estrelas 0
  • 0 avaliação com 2 estrela 2 estrelas 0
  • 0 avaliação com 1 estrela 1 estrela 0

Adicionar minha avaliação

Ver todas avaliações

Colaboradores

  • KeystrokeClick
  • 10Horizons Plugins

Suporte

Tem algo a dizer? Precisa de ajuda?

Ver fórum de suporte

Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

Doe para este plugin

  • Sobre
  • Notícias
  • Hospedagem
  • Privacidade
  • Vitrine
  • Temas
  • Plugins
  • Padrões
  • Aprender
  • Suporte
  • Desenvolvedores
  • WordPress.tv ↗
  • Participar
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Brasil

  • Acessar nossa conta do X (antigo Twitter)
  • Acessar nossa conta do Bluesky
  • Acessar nossa conta do Mastodon
  • Acessar nossa conta do Threads
  • Acessar nossa página do Facebook
  • Acessar nossa conta do Instagram
  • Acessar nossa conta do LinkedIn
  • Acessar nossa conta do TikTok
  • Acessar nosso canal do YouTube
  • Acessar nossa conta no Tumblr
Código é poesia.