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

[core] Skip system documents when exporting a dataset #120

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Aug 18, 2017

Currently, when you export a dataset, both system groups and listeners are included.
When you try to import this into a new dataset, you get permission errors since these kind of documents cannot be inserted by a regular user without the manage flag.

The best solution would be if we could filter these documents on the server side, but as of now we can't do this. This PR filters them on the client side when you run sanity dataset export.

Copy link
Member

@bjoerge bjoerge left a comment

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.

2 participants