[WordPress] 外掛分享: RoleGuard — Temporary Role Manager

首頁外掛目錄 › RoleGuard — Temporary Role Manager
WordPress 外掛 RoleGuard — Temporary Role Manager 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-03-16

內容簡介

RoleGuard 是一款讓您為任何 WordPress 使用者分配時間限制角色的外掛。當時間到期後,使用者將自動恢復至原本角色,有效降低安全風險,避免忘記的提升權限。

【主要功能】
• 分配具有日期到期的臨時角色
• 快速預設:7、14、30 或 90 天
• 自動角色恢復,透過 WP-Cron 定時檢查
• 電子郵件通知使用者及管理員
• 用戶列表中的「臨時角色」及「到期」欄位
• 批次操作:一次撤銷多個使用者的臨時角色

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RoleGuard — Temporary Role Manager」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

RoleGuard lets you assign time-limited roles to any WordPress user. When the clock runs out, the user is automatically reverted to their original role. No more forgotten elevated permissions, no more security risks from stale access.
Who is this for?

Agencies managing freelance contractors who need temporary editor access
Multi-author blogs bringing in guest contributors for a limited run
Membership sites offering trial access to premium content
Client sites where clients need temporary admin for review and approval
LMS platforms with time-limited instructor or teaching assistant roles
eCommerce stores granting seasonal staff temporary shop manager access

How it works

Go to any user’s profile page
Select a temporary role and expiration (quick presets: 7, 14, 30, or 90 days)
RoleGuard stores the original role, applies the new one, and starts the countdown
When time expires, the user’s role is automatically reverted to what it was before

Free Features

Assign temporary roles with date-based expiration
Quick presets: 7, 14, 30, or 90 days — or set any custom date
Automatic role reversion via WP-Cron (hourly checks)
Admin safety net: checks on admin page loads if cron hasn’t run in 2+ hours
Email notifications to both users and admins on role expiry
Advance warning emails (configurable: 1–30 days before expiry)
“Temp Role” and “Expires” columns in the Users list (sortable, color-coded)
Dedicated RoleGuard section on every Edit User profile screen
Bulk action: revoke temporary roles for multiple users at once
Privilege escalation prevention — cannot assign roles at or above your own level
Up to 10 active temporary role assignments
Settings page with active assignments dashboard
Fully translatable with proper text domain

What makes RoleGuard different?

Zero configuration — activate and start assigning, no setup wizard
Security first — privilege escalation prevention built in from day one
Reliable expiration — hourly cron + admin safety net means roles never get stuck
Clean reversion — stores the exact original role, not just a fallback default
Lightweight — no JavaScript frameworks, no external API calls, no bloat

RoleGuard Pro
Need more? RoleGuard Pro is a separate add-on that unlocks:

Unlimited temporary role assignments (removes the 10-user limit)
Full audit log with filtering, pagination, and export
Bulk assignment page with CSV import
Scheduled roles with future start dates
Slack and Zapier webhook notifications
Extended REST API for external integrations
WordPress dashboard widget showing upcoming expirations
License-gated — one clean upgrade, no feature nags

延伸相關外掛

文章
Filter
Apply Filters
Mastodon