cubefs / cubefs-dashboard

a web-admin for cubefs
Apache License 2.0
20 stars 17 forks source link

Fix the issue that the status of the button for the EC Volume is gray and inaccessible. #35

Closed FourSpaces closed 3 months ago

FourSpaces commented 3 months ago

Fixes: https://github.com/cubefs/cubefs-dashboard/issues/20

Motivation

Fix the issue that the status of the button for the EC Volume is gray and inaccessible.

Modifications

Due to the gzip compression of the response result from Consul requesting data, which was not decompressed during HTTP parsing, JSON parsing failed and EC Volume information could not be displayed

Added gzip parsing

Fixes: https://github.com/cubefs/cubefs-dashboard/issues/30

Motivation

invalid vol_type:1, Due to the lack of added erasure code volume type, simply add it

Fixes: https://github.com/cubefs/cubefs-dashboard/issues/32

Motivation

Added volume deletion function and cluster deletion function Add user deletion, user policy clearing, and user volume transfer function

Fixes: https://github.com/cubefs/cubefs-dashboard/issues/33

Motivation

The 'Add User' button did not add permissions, but permissions have been added. Currently, only the administrator role can add users