View as a different user
Port's "View as" feature enables administrators to validate and troubleshoot user permissions without switching accounts or requesting credentials. This capability is essential when implementing dynamic filters, permission rules, or role-based access controls that depend on the logged-in user's context.
Each "View as" session is bound to a specific browser tab, allowing you to maintain multiple views simultaneously, one as your admin user to modify configurations, and another as a member user to see the immediate impact of your changes.
Using this feature, you can verify exactly what a specific user can see and do within the portal, including:
- Accessible pages and catalog views
- Entity creation and deletion permissions
- Self-service actions available for execution or approval
- Applied dynamic filters and data visibility
Access the feature
There are two ways to access the "View as" feature:
Option 1: From the navigation bar
- Navigate to your Port portal.
- Click the options menu
.... - Select View as.
- Choose the user type you want to view as from the dropdown list.
- Click
View.
Option 2: From a user entity
- Navigate to the Users page in your catalog.
- Choose the user you want to view as
- Click the actions menu
...on the user entity. - Select View as.
Limitations
- This feature is available only for admin users.
- You cannot view as disabled users.
- You cannot edit or delete your original user in a view as session.
- Some sensitive routes (rotate secrets, generate api token, etc.) are blocked and cannot be used in a view as session.
When you are viewing Port as a different user, this session is bound to your current browser tab. This is useful for maintaining two different tabs - one as your own user where you can modify your environment configuration (dynamic filters, permissions, etc.) and one as a member user to see the impact of those changes.
Audit logs
When you are in a "view as" session, you can still perform updates or deletes on your data.
Any update or delete operation you perform when viewing as a different user will be recorded in the audit log under your own user, with clear attribution showing that the action was performed during a "view as" session.
The audit log entry will show your username followed by the user you were viewing as.
For example: John Cena as Jane Villanueva