Merge pull request #6625 from owncloud/webdav-perms
[full-ci] Update Reva to include 4013
This commit is contained in:
Generated
Vendored
+5
@@ -98,6 +98,7 @@ func (r *Role) OCSPermissions() Permissions {
|
||||
// R = Shareable
|
||||
// M = Mounted
|
||||
// Z = Deniable (NEW)
|
||||
// P = Purge from trashbin
|
||||
func (r *Role) WebDAVPermissions(isDir, isShared, isMountpoint, isPublic bool) string {
|
||||
var b strings.Builder
|
||||
if !isPublic && isShared {
|
||||
@@ -129,6 +130,10 @@ func (r *Role) WebDAVPermissions(isDir, isShared, isMountpoint, isPublic bool) s
|
||||
fmt.Fprintf(&b, "Z")
|
||||
}
|
||||
|
||||
if r.CS3ResourcePermissions().PurgeRecycle {
|
||||
fmt.Fprintf(&b, "P")
|
||||
}
|
||||
|
||||
return b.String()
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -352,7 +352,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
|
||||
github.com/cs3org/go-cs3apis/cs3/types/v1beta1
|
||||
# github.com/cs3org/reva/v2 v2.14.1-0.20230623085734-919a9585f147
|
||||
# github.com/cs3org/reva/v2 v2.14.1-0.20230623085734-919a9585f147 => github.com/micbar/reva/v2 v2.0.0-20230626125956-c381fe19a108
|
||||
## explicit; go 1.20
|
||||
github.com/cs3org/reva/v2/cmd/revad/internal/grace
|
||||
github.com/cs3org/reva/v2/cmd/revad/runtime
|
||||
@@ -2189,3 +2189,4 @@ stash.kopano.io/kgol/oidc-go
|
||||
## explicit; go 1.13
|
||||
stash.kopano.io/kgol/rndm
|
||||
# github.com/cs3org/go-cs3apis => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1
|
||||
# github.com/cs3org/reva/v2 => github.com/micbar/reva/v2 v2.0.0-20230626125956-c381fe19a108
|
||||
|
||||
Reference in New Issue
Block a user