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

Check for public / anonymous read permission on wmts layers #389

Closed
wants to merge 2 commits into from

Conversation

weskamm
Copy link
Member

@weskamm weskamm commented Jul 22, 2020

This allow anonymous users to request WMTS layers that have granted permission to the public group.

@devs please review

if (group.getName().equalsIgnoreCase("public") &&
group.getOwner() == null) {
dataSource = source;
break;
Copy link
Member

Choose a reason for hiding this comment

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

This will break out the inner loop only. Please make either use of labels or move this code to a dedicated function that will return the result value (<- preferred).

@weskamm
Copy link
Member Author

weskamm commented Jul 30, 2020

closing in favor of #390

@weskamm weskamm closed this Jul 30, 2020
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.

2 participants