Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow deletion of unowned links #80

Merged

Conversation

mhofstetter
Copy link
Contributor

First of all, thanks for golink!

Description
It should be possible to delete links owned by non-existing users (tagged-devices or deleted) in the same ways as it's possible to edit these links.

Related PRs

It should be possible to delete links owned by non-existing users
(tagged-devices or deleted) in the same ways as it's possible
to edit these links.

Signed-off-by: Marco Hofstetter <[email protected]>
Even in dev mode, the user `tagged-devices` should not be
reported as existing user.

This allows editing & deleting links owned by `taggged-devices`
in dev mode.

Signed-off-by: Marco Hofstetter <[email protected]>
Copy link
Member

@willnorris willnorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You technically can handle this by first updating the link, which makes you the owner, and then deleting it. But that's not at all intuitive, and changing the UI to make that clearer isn't really any better than just allowing direct deletion. Thanks for the patch.

@willnorris willnorris merged commit e6a9c75 into tailscale:main Jun 22, 2023
@mhofstetter mhofstetter deleted the pr/mhofstetter/delete-tagged-owner-links branch June 22, 2023 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants