Skip to content

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

@EtlamGit

Description

@EtlamGit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions