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

feat: restrict filtering for information system for unauth users #414

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

nicobav
Copy link
Contributor

@nicobav nicobav commented Dec 13, 2024

The information system field content already has a restricted visibility for unauthenticated users and so should be the filtering options for that field be.

Refs TIED-171

@nicobav nicobav requested a review from a team December 13, 2024 13:59
Copy link
Contributor

@tuomas777 tuomas777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 🦈

def test_function_information_system_filtering_for_unauthenticated_user(
api_client, classification, classification_2
):
"""Filtering by information system as an unauthenticated user should have any effect"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""Filtering by information system as an unauthenticated user should have any effect"""
"""Filtering by information system as an unauthenticated user should not have any effect"""

maybe? 🙂

@terovirtanen
Copy link
Contributor

TIEDONOHJAUS-API branch is deployed to platta: https://tiedonohjaus-pr414.api.dev.hel.ninja 🚀🚀🚀

The information system field content already has a restricted visibility
for unauthenticated users and so should be the filtering options for
that field be.

Refs TIED-171
@nicobav nicobav force-pushed the TIED-171/infsysfiltering branch from 2acb5fd to a0db379 Compare December 16, 2024 08:02
@nicobav nicobav merged commit 2e38472 into main Dec 16, 2024
22 of 24 checks passed
@nicobav nicobav deleted the TIED-171/infsysfiltering branch December 16, 2024 08:47
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.

3 participants