8000 Save button should be disabled when M2A linked collection is readonly · Issue #24050 · directus/directus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Save button should be disabled when M2A linked collection is readonly #24050

Closed
carlo-salinari opened this issue Nov 15, 2024 · 1 comment · Fixed by #24045
Closed

Save button should be disabled when M2A linked collection is readonly #24050

carlo-salinari opened this issue Nov 15, 2024 · 1 comment · Fixed by #24045
Labels

Comments

@carlo-salinari
Copy link

Describe the Bug

I have an M2A collection to link various kinds of lab-test results to products in a catalog.

The problem is that when a user with a read-only policy for items in the lab-test results collections opens them, the 'Save' button is still active. This happens even though all fields are clearly grayed out, which can confuse the user.

The correct behavior, I believe, should be for the 'Save' button to also appear grayed out.

image

To Reproduce

Create a M2A collection with some items.
Create a policy for Users that gives them read-only access.
As such a User, open one of the items (see picture above).

Directus Version

v11.2.1

Hosting Strategy

Self-Hosted (Docker Image)

Database

Postgres 16

@ComfortablyCoding
Copy link
Contributor
ComfortablyCoding commented Nov 15, 2024

This should be resolved by #24045

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0