Don't delete all permissions before adding the new ones.
Merge branch 'master' of https://github.com/kaltura/server