#1291 Unify permissions setting when importing a metadata with UI and CSW-Transaction