본문 바로가기
  • 워드프레스 소개
    • 워드프레스 소개
    • WordPress.org
    • 문서
    • 지원
    • 의견
  • 로그인
  • 회원가입
WordPress.org
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
  • 지원
    • 문서
    • 포럼
  • About
  • Get WordPress
Get WordPress

플러그인

  • 나의 즐겨찾기
  • 베타 시험
  • 개발자
다운로드

Remove Dashboard Access

작성자: TrustedLogin
  • 세부사항
  • 평가
  • 설치
  • 지원
  • 개발

설명

  • Limit Dashboard access to admins only, admins + editors, admins + editors + authors, or limit by specific capability.
  • Choose your own redirect URL
  • Optionally allow user profile access
  • Optionally display a message on the login screen
  • (more info)

Contribute to RDA

This plugin is in active development on GitHub. Pull requests are welcome!
Capabilities:

  • You can limit Dashboard access to Admins only, Editors or above, Authors or above, or by selecting a capability. More information on WordPress’ default roles and capabilities can be found here: https://codex.wordpress.org/Roles_and_Capabilities

User Profile Access:

  • You can optionally allow all users the ability to edit their profiles in the Dashboard. Users lacking the chosen capability won’t be able to access any other sections of the Dashboard.

Login Message:

  • Supply a message to display on the login screen. Leaving this blank disables the message.

Hiding other plugins/themes’ Toolbar menus:

  • Remove Dashboard Access removes some built-in WordPress Toolbar menus by default, but can be extended to hide menus from other plugins or themes via two filters: rda_toolbar_nodes (viewing from the admin), and rda_frontend_toolbar_nodes (viewing from the front-end).

How to find the menu (node) id:

  • In the HTML page source, look for the <li> container for the menu node you’re targeting. It should take the form of <li id="wp-admin-bar-SOMETHING">
  • In <li id="wp-admin-bar-SOMETHING">, you want the “SOMETHING” part.

How to filter the disallowed Toolbar nodes on the front-end:

/**
 * Filter hidden Toolbar menus on the front-end.
 *
 * @param array $ids Toolbar menu IDs.
 * @return array (maybe) filtered front-end Toolbar menu IDs.
 */
function wpdocs_hide_some_toolbar_menu( $ids ) {
    $ids[] = 'SOMETHING';
    return $ids;
}
add_filter( 'rda_frontend_toolbar_nodes', 'wpdocs_hide_some_toolbar_menu' );

Common plugin Toolbar menus and their ids:

  • Jetpack by WordPress.com (notifications) – ‘notes’
  • WordPress SEO by Yoast – ‘wpseo-menu’
  • W3 Total Cache – ‘w3tc’

Debug Mode

To view debugging information on the Settings > Reading screen, visit:

example.com/options-general.php?page=dashboard-access&rda_debug=1

스크린샷

  • The Dashboard Access Controls settings in the Settings > Dashboard Access screen.
  • Allow users to access their profile settings (only).
  • Optional login message.

설치

  1. Search ‘Remove Dashboard Access’ from the Install Plugins screen.
  2. Install plugin, click Activate.

FAQ

What happens to disallowed users who try to access to the Dashboard?

Users lacking the chosen capability or role(s) will be redirected to the URL set in Settings > Dashboard Access.

Why haven’t you added an option to disable the WordPress Toolbar?

The Toolbar contains certain important links (even for disallowed users) such as for accessing to the profile editor and/or logging out. Plus, there are many plugins out there for disabling the Toolbar if you really want to.

Can I disable the redirection/profile-editing controls without disabling the plugin?

No. Disable the plugin if you don’t wish to leverage the functionality.

후기

Avoid

lellojello 2022년 6월 16일
An insidious mess that bricked my entire site as soon as I installed it.

5 Estrellas

javigandia 2022년 3월 8일
Muchas gracias por este buenísimo plugin. Muy fácil de utilizar y muy efectivo.

Great help to customize the website use

Renaat 2021년 11월 4일
This plugin helps me to customize the website use with my membership and LMS plugins. Very nicely done.

A must-have!

unapersona 2021년 7월 9일
This plugin is a must-have when working with public roles.

Great PLugin

rusben 2021년 1월 29일
Great, works perfectly.

Excelent

eduardomrx 2021년 1월 25일
모든 74 평가 읽기

기여자 & 개발자

“Remove Dashboard Access”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • TrustedLogin

“Remove Dashboard Access”(이)가 6(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Remove Dashboard Access”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.1.4 & 1.1.5 on April 18, 2022

Remove Dashboard Access is now being maintained by TrustedLogin! Remove Dashboard Access aligns with what we do at TrustedLogin: simply making WordPress more secure. Email any questions to support@trustedlogin.com.

  • Fixed: Deactivating and activating the plugin will no longer overwrite plugin settings
  • Fixed: Deprecated function screen_icon() warning
  • Fixed: Issue when front-end editing of profiles when the $pagenow global is not defined (#24)
  • Fixed: Potential Invalid argument supplied for foreach() PHP warning (#22)

1.1.3

  • Fixed a compatibility issue with bbPress and the media grid view.

1.1.2

  • Bump tested-up-to to 4.1.0
  • Miscellaneous readme changes.

1.1.1

Bug Fix:

  • Move options back to Settings > Dashboard Access screen to resolve conflict with page_on_front UI.

1.1

Enhancements:

  • Instantiate as a static instance for better modularity
  • Move Dashboard Access Controls settings to Settings > Dashboard Access
  • Add optional login message option
  • Add better settings sanitization
  • New Filter: rda_default_caps_for_role – Filter default roles for Admins, Editors, and Authors
  • New Debug Mode

Bug Fixes:

  • Remove unnecessarily stringent URL mask on the redirect URL option

1.0

  • Complete rewrite!
  • New: Limit dashboard access for Admins only or by capability
  • New: Allow/disallow edit-profile access
  • New: Choose your own redirect URL
  • New Filter: rda_default_access_cap – Change default access capability
  • New Filter: rda_toolbar_nodes – Filter which back-end Toolbar nodes are hidden
  • New Filter: rda_frontend_toolbar_nodes – Filter which front-end Toolbar nodes are hidden

0.4

  • Refined DOING_AJAX check for logged-out users, props @nacin and @BoiteAWeb

0.3

  • Changed cap to manage_options, replaced PHP_SELF with DOING_AJAX

0.2

  • Replaced preg_match with admin-ajax test. Added compatibility with rewritten dashboard URLs.

0.1

  • Submitted to repository

기초

  • 버전: 1.1.5
  • 최근 업데이트: 4개월 전
  • 활성 설치: 50,000+
  • 워드프레스 버전: 3.1.0 또는 그 이상
  • 다음까지 시험됨: 5.9.3
  • 언어:

    Dutch, English (Canada), English (US), German, Russian, Spanish (Spain), 그리고 Swedish.

    자국어로 번역하기

  • 태그:
    accessadministrationdashboardloginusers
  • 고급 보기

평점

모두 보기
  • 5개의 별 63
  • 4개의 별 4
  • 3개의 별 1
  • 2개의 별 2
  • 1개의 별 4
평가를 제출하기 위해 로그인합니다.

기여자

  • TrustedLogin

지원

지난 2개월 동안 해결된 문제:

2 중 0

지원 포럼 보기

기부

이 플러그인이 발전하도록 도우시겠습니까?

이 플러그인에 기부하기

  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

한국어

  • Visit our Facebook page
  • Visit our Twitter account
코드는 詩다