Skip to content

[BUG] Unable to modify host that has been shared with a user #1011

Description

@termix-github-bot

Platform

Web

Version

2.5.1

The Problem

When a user has a permission to see a host in READ ONLY mode (no permissions to modify the upstream host definition), the UI allows for edits that end up with an error. Instead UI options that are not allowed should be hidden.

Meanwhile things like credentials should be editable and only applicable to the logged in user and not updated on the upstream host definition. This way multiple distinct users can see the same shared host and both use different credentials

How to Reproduce

  1. Share a host with a user with a read only permission
  2. Log in as the user and try modifying the host. See the error on the bottom right.

Note

Submitted via the Termix Discord Support Bot
Reported by gloriahburger on Discord
View Discord thread

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions