JoryHogeveen / view-admin-as

View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.

Home Page:https://wordpress.org/plugins/view-admin-as/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Also change the current user object properties on a view

JoryHogeveen opened this issue · comments

Currently I only use capability mapping for the role and capability views.

  • update the current user roles property (only on a role view)
  • update the current user caps property
  • update the current user allcaps property
  • compatibility with blog switching (caused the original values to reset)

Only for capability and role views + add a filter for modules to hook into.

Reopened because when a new instance is made for the current user the view modifications are not applied

  • Also apply view modifications for new instances of the current user