blob: b4c483089e962ac54409c82c38057a82b098d2e2 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package server
import (
"v.io/v23/security/access"
"v.io/x/ref/services/syncbase/common"
)
var (
_ common.PermserData = (*ServiceData)(nil)
_ common.PermserData = (*DatabaseData)(nil)
)
func (data *ServiceData) GetPerms() access.Permissions {
return data.Perms
}
func (data *DatabaseData) GetPerms() access.Permissions {
return data.Perms
}