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

Respect user conditions when building source table column arrays #11913

Merged
merged 2 commits into from
Sep 11, 2022

Conversation

brandonkelly
Copy link
Member

Description

Adds checks to ensure we’re only showing table columns for custom fields that are actually visible to the current user, based on field layouts’ user conditions.

(Only applies to non-admins. Even if a condition does exclude an admin from seeing a field, the admin still has other ways of seeing it, and needs to know about it so they can choose to include the field in the source’s Table Columns setting.)

@brandonkelly brandonkelly requested a review from a team as a code owner September 11, 2022 14:56
@linear
Copy link

linear bot commented Sep 11, 2022

DEV-995 Hide table columns for inaccessible fields

Any fields with a user condition on them which will prevent the current user from seeing it should be omitted from element index tables.

[ci skip]
@brandonkelly brandonkelly merged commit 629402b into 4.3 Sep 11, 2022
@brandonkelly brandonkelly deleted the feature/dev-995-hide-table-columns-for-inaccessible branch September 11, 2022 15:44
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