Skip to content

Check if user has permission to see the related entity#7590

Open
Seb33300 wants to merge 1 commit intoEasyCorp:5.xfrom
Seb33300:fix-asso-premission
Open

Check if user has permission to see the related entity#7590
Seb33300 wants to merge 1 commit intoEasyCorp:5.xfrom
Seb33300:fix-asso-premission

Conversation

@Seb33300
Copy link
Copy Markdown
Contributor

@Seb33300 Seb33300 commented May 4, 2026

When using AssociationField, a link to the related entity detail page is displayed on the index page, but the check to verify if user has permission to open that page is missing:

// TODO: check if user has permission to see the related entity

This PR fixes the issue. If not permitted, data is displayed as plain text without link.

@Seb33300
Copy link
Copy Markdown
Contributor Author

Seb33300 commented May 4, 2026

Tried to fix tests but i dont understand whats wrong

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.

1 participant