Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigratePermissions ¶
func MigratePermissions(permissions v2.Permission) (types.Permissions, error)
MigratePermissions migrates the given v2 permissions to the new system
func MigrateStore ¶
MigrateStore migrates the store from version 2 to version 3. The migration includes the following:
- migrate all the group permissions from the old system to the new one - migrate all the user permissions from the old system to the new one - set the NextSectionID to 1 for all the existing subspaces - create the default section for all the existing subspaces
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.