mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-09 21:59:42 -06:00
cleanup(graph): remove some resharing leftovers
This commit is contained in:
committed by
Ralf Haferkamp
parent
01c2d9810a
commit
fe6986ec79
@@ -68,7 +68,7 @@ var legacyNames map[string]string = map[string]string{
|
||||
UnifiedRoleManagerID: conversions.RoleManager,
|
||||
}
|
||||
|
||||
// NewViewerUnifiedRole creates a viewer role. `sharing` indicates if sharing permission should be added
|
||||
// NewViewerUnifiedRole creates a viewer role.
|
||||
func NewViewerUnifiedRole() *libregraph.UnifiedRoleDefinition {
|
||||
r := conversions.NewViewerRole()
|
||||
return &libregraph.UnifiedRoleDefinition{
|
||||
@@ -102,7 +102,7 @@ func NewSpaceViewerUnifiedRole() *libregraph.UnifiedRoleDefinition {
|
||||
}
|
||||
}
|
||||
|
||||
// NewEditorUnifiedRole creates an editor role. `sharing` indicates if sharing permission should be added
|
||||
// NewEditorUnifiedRole creates an editor role.
|
||||
func NewEditorUnifiedRole() *libregraph.UnifiedRoleDefinition {
|
||||
r := conversions.NewEditorRole()
|
||||
return &libregraph.UnifiedRoleDefinition{
|
||||
|
||||
Reference in New Issue
Block a user