changlog added

This commit is contained in:
Roman Perekhod
2023-06-09 18:30:44 +02:00
committed by Ralf Haferkamp
parent df5641f406
commit e73e760827
3 changed files with 7 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
Enhancement: Fix the groupname validation
Fixed the ability to create a group with an empty name
https://github.com/owncloud/ocis/pull/6490
https://github.com/owncloud/ocis/issues/5050

View File

@@ -123,6 +123,7 @@ func (e Error) Error() string {
return errorCodes[e.errorCode]
}
// RenderError render the Graph Error based on a code or default one
func RenderError(w http.ResponseWriter, r *http.Request, err error) {
var errcode Error
if errors.As(err, &errcode) {

View File

@@ -43,10 +43,6 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiSpacesShares/shareUploadTUS.feature:219](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L219)
- [apiSpacesShares/shareUploadTUS.feature:284](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpacesShares/shareUploadTUS.feature#L284)
### [Creating group with empty name returns status code 200](https://github.com/owncloud/ocis/issues/5050)
- [apiGraph/createGroup.feature:48](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/createGroup.feature#L48)
### [Settings service user can list other peoples assignments](https://github.com/owncloud/ocis/issues/5032)
- [apiAccountsHashDifficulty/assignRole.feature:28](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiAccountsHashDifficulty/assignRole.feature#L28)