Create and update permission and aliases.