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

Network / Intranet configuration / Add support for multiple ip ranges #6894

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

davinciagf
Copy link
Collaborator

@davinciagf davinciagf commented Mar 8, 2023

  • Multiple IP addresses and network mask can be define to check if client is considered in Intranet group

image

image

do not show the intranet group

image

@josegar74 josegar74 added this to the 4.2.4 milestone Mar 10, 2023
X-Forwarded-for header takes priority (in all places - Jeeves and Spring API).
This fix issue while checking if client is on Intranet.

By default the header is automatically set by proxy eg. Apache mod_proxy.
@fxprunayre fxprunayre changed the title Intranet configuration - support for multiple ip range Network / Intranet configuration / Add support for multiple ip ranges Mar 31, 2023
if (!hasNetworkConfig
&& g.getId() == ReservedGroup.intranet.getId()) {
continue;
}
Copy link
Member

@josegar74 josegar74 Mar 31, 2023

Choose a reason for hiding this comment

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

I'm not sure about this change. With this change if you configure later the intranet setting, it seems you'll have to update the privileges of the metadata.

What is the reason of this change? Was it causing some issue the original code?

Copy link
Member

Choose a reason for hiding this comment

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

Lot of users are asking what is the Intranet group. Most of the time it is not used. So if you don't set the settings for intranet, this does not display the group in the sharing panel.

image

And if you at some point add intranet settings, then you'll have to change existing records privileges if you want to customize privileges for the intranet group.

Copy link
Member

Choose a reason for hiding this comment

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

As long as that is clearly documented, sounds fine.

Copy link
Member

Choose a reason for hiding this comment

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

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