fullctl / ixctl

Apache License 2.0
2 stars 4 forks source link

IX-F export url improvements #33

Closed vegu closed 3 years ago

vegu commented 3 years ago

Url should utilize the ix slug implemented in #32 and provide an optional secret to allow toggling between public and private mode.

In public mode (e.g., secret toggled off)

In private mode (e.g., secret toggled on)

Allow configuring of the public/private mode and setting the secret.

Add ixf_export_privacy field to InterntExchange model and serializer (choices "public", "private"). If private the secret is required to view the ix-f export. Expose a UI field in the same form that allows updating of ix slug value (see #32)

egfrank commented 3 years ago

@vegu I'm still pushing these changes to gh_32 so the changes are here: https://github.com/fullctl/ixctl/pull/35

I actually think the changes as stated here are done but we might have to change some things when it comes to which users can view / edit the urlkey + privacy policy.

For instance, if the setting is "private", is the IX-F export button still going to work? like would it just add the secret?