BK-1294 Delete permissions with update_permissions sync command
Merge branch Booktype/2.0 into 2.0