peer is a public data

This commit is contained in:
mr 2025-02-04 10:11:40 +01:00
parent bf114b39b7
commit f481cde465

View File

@ -90,10 +90,3 @@ func (ao *CollaborativeArea) VerifyAuth(request *tools.APIRequest) bool {
func (d *CollaborativeArea) GetAccessor(request *tools.APIRequest) utils.Accessor {
return NewAccessor(request) // Create a new instance of the accessor
}
func (d *CollaborativeArea) Trim() *CollaborativeArea {
if ok, _ := (&peer.Peer{AbstractObject: utils.AbstractObject{UUID: d.CreatorID}}).IsMySelf(); !ok {
d.AllowedPeersGroup = map[string][]string{}
}
return d
}