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