As an admin, view Port as a member
planned
S
Simon Beaulieu
For those following this issue, in the meantime there's a very easy workaround, implement a self-service action that allows switching between user/admin roles. We did this and use it often !
Note: You will need to tweak roles & permissions to limit who can execute this action, you can define specific user emails/teams that can switch back and forth this way you don't give everyone in the org the power to become admins !
Here's the JSON (assumes Users & Teams as blueprints is enabled)
"{
"identifier": "change_current_user_role",
"title": "Change role for current user",
"icon": "TwoUsers",
"description": "Change your current role (ex: Admin -> Member) to validate permissions or UI changes from different perspectives. This action can only be executed by select teams that contribute to Port (Example: Developer Experience, SRE, Security team)",
"trigger": {
"type": "self-service",
"operation": "DAY-2",
"userInputs": {
"properties": {
"port_role_to_impersonate": {
"type": "string",
"title": "Port role to impersonate",
"default": {
"jqQuery": "if .user.mainRole == \"Admin\" then \"Member\" else \"Admin\"end"
},
"enum": {
"jqQuery": "[\"Admin\", \"Member\", \"Moderator\"]-[.user.mainRole]"
},
"enumColors": {
"Admin": "gold",
"Member": "bronze",
"Moderator": "silver"
}
}
},
"required": [
"port_role_to_impersonate"
],
"order": [
"port_role_to_impersonate"
]
}
},
"invocationMethod": {
"type": "UPSERT_ENTITY",
"blueprintIdentifier": "_user",
"mapping": {
"identifier": "{{ .trigger.by.user.email }}",
"properties": {
"port_role": "{{ .inputs.port_role_to_impersonate }}"
}
}
},
"requiredApproval": false
}"
G
Guy Berman
marked this post as
planned
Dudi Elhadad
Merged in a post:
Adjust/Emulate Port Roles as an Admin
J
Jordan Bal
As an Admin it would be beneficial to be able to emulate a typical use with a non-Admin role. Currently the only method to test that our UI configuration appears as expected for end users is the use of a test-user account.
Hila Kashai
Merged in a post:
Act as member
D
Dan Amzulescu
Act as member (switch to gain visibility on how permissions look from a member perspective)
E
Edgardo Izquierdo
I join the request.
Would be ideal to impersonate as we can do in Gitlab for example. The idea of impersonate is to check the changes and interact as if we were another kind of user/team/group and check our permissions changes easily.
Matan Grady
Edgardo thank you for adding your vote and sharing your use case! We are definitely looking into how to improve these areas.
Adi Weinstock
Merged in a post:
Change UI view according to role
Y
Yair Raiter
As an admin i would like to change to user view to check if the permission that i set are correct and working properly
In the current state i need to change my admin permission to user to check the user view and ask a teammate to change them back
Matar Peles
Merged in a post:
Ability to impersonate another user
Aidan O'Connor
Currently, administrators configure the Port UI to ensure the experience is ideal for their end users: developers. However, to ensure the end-user views the things they should be able to view in the ways they intend, admins must create a separate user profile and login to this profile to view this.
Ideally, administrators would be able to have an "impersonate a user" capability that makes this sort of quality control testing easier.
Alon Moscovitz
Aidan O'Connor this FR already requests the exact same thing, probably better to upvote it instead:
Aidan O'Connor
Alon Moscovitz: good call! Should've expanded my search past "impersonate" 🤦♂️ thank you!
A
Angelo Pulido
It would be great if as an Admin, I can view Port as a specific user, so I can test their permissions and make sure that user can only see and access what is right for their role and/or team.
Dudi Elhadad
marked this post as
open
Load More
→