Linux 软件免费装
Banner图

DevAgent Admin Workspace

开发者 devagent
更新时间 2026年7月21日 23:53
PHP版本: 8.1 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

custom dashboard capabilities admin menu user roles client dashboard

下载

1.0.0

详情介绍:

DevAgent Admin Workspace helps agencies, site owners, and administrators create focused WordPress admin workspaces for clients, editors, collaborators, and non-technical teams. Each workspace can combine a custom dashboard, quick actions, role and capability management, an adapted admin menu, a validated start page, and clear instructions for the people who maintain the site. The plugin works inside the native WordPress administrator. It does not replace wp-admin, load a separate application, or treat CSS menu hiding as security. WordPress roles and capabilities remain the source of truth for what every user can actually do. Why use a workspace instead of separate admin tools? Many WordPress tools focus on one layer at a time: editing roles, hiding menus, changing dashboard widgets, or applying white-label branding. DevAgent Admin Workspace connects the operational parts that belong together: This integrated workspace model reduces the gap between a role configuration, the menu an administrator intended to show, and the navigation the end user actually receives. Effective menu verification Third-party plugins do not all register permissions and admin screens in the same way. A screen can declare one capability for its menu and still apply additional checks, conditional registration, AJAX permissions, REST permissions, or plugin-specific rules later. DevAgent Admin Workspace records both: The menu editor reports the result on each card: When the intended configuration and the browser-rendered menu differ, the card explains the registered capability, role context, last verification, parent-menu result, possible causes, and recommended checks. The browser observation is generic and is not tied to a list of supported plugins. Newly detected plugin screens are never enabled automatically. Main features Security model Navigation and permissions are deliberately separate. Hiding a menu item changes presentation only. It does not remove a capability and it does not block a direct URL when WordPress or the destination plugin still authorizes that user. Showing a menu item also cannot grant access. The selected role must already have the capability required by WordPress and the destination plugin. Users with manage_options are permanently excluded from workspace application in this version. Administrators can preview workspaces without impersonating another user or changing their own capabilities. All configuration-changing actions require the appropriate plugin capability and a valid nonce. Saved URLs, dashboard blocks, quick actions, menu configuration, role changes, and workspace assignments are validated and sanitized. Privacy The plugin stores all data locally and does not send telemetry or load remote resources. Depending on configuration, it may store: The plugin does not store IP addresses. It registers suggested privacy-policy text and integrates with the WordPress personal-data export and erasure tools. User deletion removes individual assignments and anonymizes retained local references. Multisite Each site maintains its own workspaces, assignments, settings, and logs. Network activation initializes existing sites, and newly created sites receive site-local defaults. The plugin does not add network-wide workspace management or synchronization. No external services DevAgent Admin Workspace does not contact external APIs, require an external account, download runtime dependencies, load assets from a CDN, or perform license checks.

安装:

  1. Upload the devagent-admin-workspace folder to /wp-content/plugins/, or install the ZIP from Plugins > Add New > Upload Plugin.
  2. Activate DevAgent Admin Workspace.
  3. Open Admin Workspace > Roles and permissions to prepare a role.
  4. Open Admin Workspace > Add workspace to create a dashboard and menu configuration.
  5. Publish the workspace.
  6. Open Admin Workspace > Assign workspaces to associate it with a role or, when needed, a specific user exception.
  7. Log in once with a non-administrator user who has the assigned role and open wp-admin so the plugin can record the browser-rendered menu observation.
  8. Return as an administrator and review Edit workspace > Administrative menu.
  9. Test the complete result with a non-administrator account before deploying it to production users.

屏幕截图:

  • Guided role and capability assistant.
  • Dashboard block and quick-action editor.
  • Role-aware administrative menu editor with effective-result status.
  • Menu item diagnostic alert for a configured screen that was not shown.
  • Role-to-workspace assignments and optional individual user exceptions.
  • Protected workspace preview.
  • Recovery and diagnostic tools.

升级注意事项:

1.0.0 Initial release.

常见问题:

Does hiding a menu item remove the user's permission?

No. Menu visibility is presentation only. WordPress capabilities determine whether the user can access or modify data. Remove or change the role capability when access itself must be restricted.

Why is an item enabled in the workspace but missing from the user's menu?

The menu checkbox records the intended workspace configuration. The final result also depends on WordPress and the plugin that owns the screen. A plugin can conditionally register or remove a screen, require additional permissions, depend on a parent menu, reject an unavailable callback, or hide the rendered item later with CSS or JavaScript. The affected menu card reports the last browser-rendered result and provides diagnostic facts and recommended checks.

How do I refresh the rendered menu result for a role?

Log in once with a user who has the role and assigned workspace, then open any wp-admin screen. Return as an administrator and reopen the workspace menu editor.

Does the plugin detect capabilities from other plugins?

It includes WordPress capabilities, capabilities stored in registered roles, and capabilities declared by captured admin menu screens. Unknown plugin capabilities appear with their technical identifiers and are not automatically classified as safe. It does not scan third-party source code or guarantee discovery of separate AJAX, REST, background-action, or dynamically calculated permissions. A plugin-specific integration is still required when an external plugin does not expose granular capabilities.

Can the workspace grant access to a plugin screen?

No. A workspace can organize or hide an available menu item, but it cannot bypass the capability checks implemented by WordPress or another plugin.

Can administrators receive a workspace?

No. Any user with the manage_options capability is excluded from workspace application. Administrators can use the protected preview screen instead.

What happens if a configured plugin screen no longer exists?

The reference remains stored and is shown as unavailable in the workspace editor. If it is used as the start page, the user falls back to the workspace dashboard.

Can several roles share one workspace?

Yes. The workspace configuration is shared, while the effective menu can differ because each role has different WordPress capabilities. Create separate workspaces when roles need genuinely different menu structures.

What are individual user exceptions for?

They allow one user to receive a different workspace without changing that user's roles or permissions. They are useful for resolving a multi-role ambiguity or providing different navigation to one person who otherwise has the same permissions as the rest of a team.

Can I temporarily disable all workspaces?

Yes. Add the following constant to wp-config.php: define( 'DEVAWORKSPACE_DISABLE_WORKSPACES', true ); This restores the normal WordPress administrator while keeping recovery, settings, and diagnostics available to authorized administrators.

Does uninstall delete my data?

Not by default. Data is preserved unless "Permanently remove this plugin's data when the plugin is deleted" is enabled under Admin Workspace > Settings. Custom roles are preserved to avoid leaving users without a valid role.

Does the plugin use external services or telemetry?

No.

更新日志:

1.0.0