mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-02 22:11:17 +00:00
refactor: account model overhaul
This commit is contained in:
@@ -81,7 +81,7 @@ FROM node_paths
|
||||
WHERE id = ?;`
|
||||
|
||||
func isScopeSet(scope *Scope) bool {
|
||||
return scope != nil && scope.AccountID != uuid.Nil && scope.RootNodeID != uuid.Nil
|
||||
return scope != nil && scope.DriveID != uuid.Nil && scope.RootNodeID != uuid.Nil
|
||||
}
|
||||
|
||||
// canAccessNode checks if the scope permits the operation and allows access to the node.
|
||||
|
||||
Reference in New Issue
Block a user