v2.9.0
Changelog for reva 2.9.0 (2022-09-08)
The following sections list the changes in reva 2.9.0 relevant to
reva users. The changes are ordered by importance.
Summary
- Fix #3206: Add spaceid when listing share jail mount points
- Fix #3194: Adds the rootinfo to storage spaces
- Fix #3201: Fix shareid on PROPFIND
- Fix #3176: Forbid duplicate shares
- Fix #3208: Prevent panic in time conversion
- Fix #3207: Align ocs status code for permission error on publiclink update
- Enh #3193: Add shareid to PROPFIND
- Enh #3180: Add canDeleteAllHomeSpaces permission
- Enh #3203: Added "delete-all-spaces" permission
- Enh #3200: OCS get share now also handle received shares
- Enh #3185: Improve ldap authprovider's error reporting
- Enh #3179: Improve tokeninfo endpoint
- Enh #3171: Cs3 to jsoncs3 share manager migration
- Enh #3204: Make the function flockFile private
- Enh #3192: Enable space members to update shares
Details
- Bugfix #3206: Add spaceid when listing share jail mount points
- Bugfix #3194: Adds the rootinfo to storage spaces
The sympton of the bug were search results not containing permissions
- Bugfix #3201: Fix shareid on PROPFIND
Shareid was still not working properly. We need to parse it from the path
- Bugfix #3176: Forbid duplicate shares
When sending a CreateShare request twice two shares would be created, one being not
accessible. This was blocked by web so the issue wasn't obvious. Now it's forbidden to create
share for a user who already has a share on that same resource
- Bugfix #3208: Prevent panic in time conversion
- Bugfix #3881: Align ocs status code for permission error on publiclink update
The ocs status code returned for permission errors on updates of publiclink permissions is now
aligned with the documentation of the OCS share API and the behaviour of ownCloud 10
- Enhancement #3193: Add shareid to PROPFIND
Adds the shareid to the PROPFIND response (in case of shares only)
- Enhancement #3180: Add canDeleteAllHomeSpaces permission
We added a permission to the admin role in ocis that allows deleting homespaces on user delete.
#3180
#3202
https://github.com/owncloud/ocis/pull/4447/files
- Enhancement #3203: Added "delete-all-spaces" permission
We introduced a new permission "delete-all-spaces", users holding this permission are
allowed to delete any space of any type.
- Enhancement #4322: OCS get share now also handle received shares
Requesting a specific share can now also correctly map the path to the mountpoint if the
requested share is a received share.
- Enhancement #3185: Improve ldap authprovider's error reporting
The errorcode returned by the ldap authprovider driver is a bit more explicit now. (i.e. we
return a proper Invalid Credentials error now, when the LDAP Bind operation fails with that)
- Enhancement #3179: Improve tokeninfo endpoint
We added more information to the tokeninfo endpoint. aliaslink
is a bool value indicating if
the permissions are 0. id
is the full id of the file. Both are available to all users having the
link token. spaceType
(indicating the space type) is only available if the user has native
access
- Enhancement #3171: Cs3 to jsoncs3 share manager migration
We added a Load() to the jsoncs3 and Dump() to the sc3 share manager. The shareid might need to be
prefixed with a storageid and space id.
- Enhancement #3204: Make the function flockFile private
Having that function exported is tempting people to use the func to get the name for calling the
lock functions. That is wrong, as this function is just a helper to generate the lock file name
from a given file to lock.
- Enhancement #3192: Enable space members to update shares
Enabled space members to update shares which they have not created themselves.