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

Add filer command line parameter to let Filer UI show/hide directory delete button #3180

Merged
merged 3 commits into from Jun 15, 2022

Conversation

blacktear23
Copy link
Contributor

@blacktear23 blacktear23 commented Jun 14, 2022

What problem are we solving?

As #3149 mentioned, show delete directory button is danger. This PR will provide a filer command line parameter to let end user control the delete button show or not.

How are we solving the problem?

Provide -ui.deleteDir parameter for filer to control filer UI show or hide the delete button for directory. Default is true so if user want to disable delete directory button just add -ui.deleteDir=false parameter when start filer server.

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

weed/command/filer.go Outdated Show resolved Hide resolved
@chrislusf chrislusf merged commit 4eeeb5f into seaweedfs:master Jun 15, 2022
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.

None yet

2 participants