mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
Merge pull request #10172 from owncloud/fix-sharejail-stat-id
[full-ci] bump reva to 02af5a266
This commit is contained in:
@@ -86,6 +86,9 @@ func (g Graph) AssignTags(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
// use resource id from stat response to work on the actual resource and not a share jail item
|
||||
rid = *sres.GetInfo().GetId()
|
||||
|
||||
pm := sres.GetInfo().GetPermissionSet()
|
||||
if pm == nil {
|
||||
g.logger.Error().Err(err).Msg("no permissionset on file")
|
||||
@@ -185,6 +188,9 @@ func (g Graph) UnassignTags(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
// use resource id from stat response to work on the actual resource and not a share jail item
|
||||
rid = *sres.GetInfo().GetId()
|
||||
|
||||
pm := sres.GetInfo().GetPermissionSet()
|
||||
if pm == nil {
|
||||
g.logger.Error().Err(err).Msg("no permissionset on file")
|
||||
|
||||
Reference in New Issue
Block a user