3 Commits
Author SHA1 Message Date
Marco HofstetterandWill Norris 843e615dbf remove unused disabled input fields in form
The detail page of a link only displays the form if the link is editable
for the logged in user.

Therefore, it's not necessary to disable the input fields within the
form if the link isn't editable.

Signed-off-by: Marco Hofstetter <marco.hofstetter@bluewin.ch>
2023-06-26 08:13:54 -07:00
Marco HofstetterandWill Norris e6a9c75f4f support tagged-devices in userExists in devmode
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 <marco.hofstetter@bluewin.ch>
2023-06-21 17:36:56 -07:00
Marco HofstetterandWill Norris 2b98aed2ea allow deletion of unowned links
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 <marco.hofstetter@bluewin.ch>
2023-06-21 17:36:56 -07:00