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

Enter white list IP without mask should default to single IP mask #691

Open
EtlamGit opened this issue Nov 30, 2024 · 0 comments
Open

Enter white list IP without mask should default to single IP mask #691

EtlamGit opened this issue Nov 30, 2024 · 0 comments

Comments

@EtlamGit
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: (see administration page)
29.0.9

Describe the solution you'd like
Enter a white list IP without a mask should result in a white list item with IPv4/32 or IPv6/64 default mask.
For that to work:

  • the ADD button has to be enabled also with an empty mask field, which is done now in computed: disabled()
  • the mask field has to be parsed for "empty" in methods: addWhitelist
    • the IP has to be parsed if it is IPv4 or IPv6
    • and in case the mask is empty the default /32 or /64 (depending on IP type) has to be entered silently
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant