# Linked records dialog windows show a non-functional "delete" button for users with read-only access

**URL:** <https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123>\
**Category:** Get Help\
**Tags:** Members-only\
**Created:** [November 5, 2025, 10:57pm UTC](https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123 "2025-11-05T22:57:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nfshoobs](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/nfshoobs/32/3979_2.png) [@nfshoobs](https://speciforum.org/u/nfshoobs)\
**Post date:** [November 5, 2025, 10:57pm UTC](https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123/1 "2025-11-05T22:57:34Z")

</div>

7.11.2  
A minor weird thing I noticed about records viewed using the new “[Linked Records Button](https://speciforum.org/t/linked-records-button/2853)”: there is a “delete” button that appears in the upper right hand corner of the window for records, and it is “functional” in the sense that you can click “delete” and it will temporarily remove the record from the view, even when signed in as a user with read-only privileges.

Thankfully, the “deleted” record returns on page refresh. So it seems like this issue isn’t a critical problem. But it’s an odd function, considering normally the delete button for linked records or attachments is not visible at all if you’re a user without delete privileges. Is this the expected behavior? It seems misleading, since this is the only situation in which a user with no read permissions will see a button marked “delete”. It scared me when I saw it!

 ![delete button visible when signed in as a user with read-only permissions](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/b0620da74a6f14f327c1e2ad12dccbdc9b83f85e.png)

 ![after clicking delete button for all records, you can make the page display 0 linked records](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/35a1f79480e7b90d7b3963c3ff5f0463c0244bb0.png)  
 ![Closing the dialog window will show 0 linked records](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/e/e918c8dbb56f920020ecaee7722e822d6a166500.png)  
 ![refreshing the page returns the records to previous count](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/17a1ca75887bf52ff0e66d0cfcecfea5acd5504e.png)

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [November 6, 2025, 6:47pm UTC](https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123/2 "2025-11-06T18:47:49Z")

</div>

Hi @nfshoobs,

Thank you so much for your report!

I can confirm this is harmless and records cannot be removed, but I completely understand your reaction upon discovering it initially. This has been added to our GitHub repo to solve in a future update:

> <https://github.com/specify/specify7/issues/7536>
>
> \*\*Describe the bug\*\*
> The "delete" button when viewing a record in a dialog from …the "Linked Records" button is still visible even if the user does not have permission to delete records. The user can click delete and see the records disappear, but no changes are actually made in the database.
> 
> \> A minor weird thing I noticed about records viewed using the new "\[Linked Records Button\](https://speciforum.org/t/linked-records-button/2853)": there is a "delete" button that appears in the upper right hand corner of the window for records, and it is "functional" in the sense that you can click "delete" and it will temporarily remove the record from the view, even when signed in as a user with read-only privileges. 
> \> 
> \> Thankfully, the "deleted" record returns on page refresh. So it seems like this issue isn't a critical problem. But it's an odd function, considering normally the delete button for linked records or attachments is not visible at all if you're a user without delete privileges. Is this the expected behavior? It seems misleading, since this is the only situation in which a user with no read permissions will see a button marked "delete". It scared me when I saw it! 
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 
> 1. Log in as a user without edit or delete permissions
> 2. Open a record with \[linked records\](https://speciforum.org/t/linked-records-button/2853) attached
> 3. Click the button
> 4. See that the "Delete" (\`–\`) button is visible and can be clicked
> 5. Reload and see that records are still there
> 
> This is happening on \`v7.11.2\` and \`v7.11.2.1\`
> 
> \*\*Expected behavior\*\*
> That button should not be visible and it should not function.
> 
> \*\*Screenshots\*\*
> 
> https://ichthyology.specify.ku.edu/specify/view/collectingevent/399/
> 
> https://github.com/user-attachments/assets/78131b6a-fc9c-4125-8b40-f17f7a29221e
> 
> \*\*Reported By\*\*
> Nate Shoobs at OSU on the \[Speciforum\](https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/18a843c97bc32b40e8ad0e035755bc88ffaacaf7.svg) [@system](https://speciforum.org/u/system)\
**Post date:** [November 13, 2025, 6:48pm UTC](https://speciforum.org/t/linked-records-dialog-windows-show-a-non-functional-delete-button-for-users-with-read-only-access/3123/3 "2025-11-13T18:48:26Z")

</div>

Closed on November 13, 2025, 6:48pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
