Skip to content

[FRONTEND] Hide show population button in course stats page#4874

Merged
santeri0200 merged 1 commit intomasterfrom
OOD-92
Sep 1, 2025
Merged

[FRONTEND] Hide show population button in course stats page#4874
santeri0200 merged 1 commit intomasterfrom
OOD-92

Conversation

@mattirasanen
Copy link
Contributor

No description provided.

@rundtjan
Copy link
Contributor

rundtjan commented Sep 1, 2025

Absolutely hidden, FD-approved ™️ .

@santeri0200 santeri0200 merged commit de8a090 into master Sep 1, 2025
14 checks passed
@mattirasanen mattirasanen deleted the OOD-92 branch September 2, 2025 04:21
@mluukkai mluukkai requested a review from Copilot October 30, 2025 15:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an additional access control check to hide the "Show population" button for non-default service providers. The change ensures that only users from the default service provider ('toska') can access the course population feature.

  • Added isDefaultServiceProvider() check to the renderShowPopulation function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants