mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 04:20:59 -05: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,
|
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 {
|
func NewViewerUnifiedRole() *libregraph.UnifiedRoleDefinition {
|
||||||
r := conversions.NewViewerRole()
|
r := conversions.NewViewerRole()
|
||||||
return &libregraph.UnifiedRoleDefinition{
|
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 {
|
func NewEditorUnifiedRole() *libregraph.UnifiedRoleDefinition {
|
||||||
r := conversions.NewEditorRole()
|
r := conversions.NewEditorRole()
|
||||||
return &libregraph.UnifiedRoleDefinition{
|
return &libregraph.UnifiedRoleDefinition{
|
||||||
|
|||||||
Reference in New Issue
Block a user