question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move default_organization from default_taxonomy to fidesctl init

See original GitHub issue

Is your feature request related to a specific problem?

As part of the data map work, the organization object now contains numerous attributes containing custom data.

When a change occurs, it appears to refresh the default_taxonomy on the server and overwrite the existing custom organization. Additionally, the documentation around an organization should reflect the workflow around maintaining the organization resource.

Describe the solution you’d like

Have the creation of a basic organization occur as part of the fidesctl init command and be removed from the default_taxonomy. Update the docs for the organization resource to no longer suggest ignoring this resource.

Describe alternatives you’ve considered, if any

We could possibly protect the default_organization fides key and require users to have a different one if we need to preserve the behavior for some reason. This could be a decent impact for some of our testing so am open to any alternatives

Another option would be to use on_conflict_do_nothing as part of the upsert that occurs when loading the default taxonomy.

Additional context

This could be an issue that does not occur in normal usage but more of an impact to how the server is handled during development. In my case, it appeared that something mysterious was overwriting values on the server so wanted to open an issue to potentially address that.

Wider scope, I feel that the organization has grown from something where it made perfect sense to be treated as a default object to now being a richer object deserving of some extra support to manage

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ThomasLaPianacommented, Apr 4, 2022
1reaction
ThomasLaPianacommented, Apr 4, 2022

@SteveDMurphy this got changed to specifically not mess with the org if it already exists as a special case

https://github.com/ethyca/fides/blob/main/fidesctl/src/fidesapi/database/database.py#L71-L79

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI - Fides
The data map is comprised of an Organization, Systems, and Datasets. The default organization is used, however a custom one can be passed...
Read more >
SteveDMurphy/fides-local-testing - GitHub
Testing out a local install of fidesctl. ... Then we need to update the default fidesctl.toml to use localhost and add our default...
Read more >
How to create default taxonomy term for a custom post type?
When i install a custom post type as plugin,it will create 3 default category automatically like apple,sony,nokia. How is it possible ? My ......
Read more >
Default taxonomy for Wordpress custom post type
I'm struggling to add a default taxonomy to a custom post type. My cpt is this: add_action('init', 'events_register'); function ...
Read more >
register_taxonomy() | Function
By default, Tag labels are used for non-hierarchical taxonomies, and Category labels are used for ... To change the namespace URL of REST...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found