init permissions
resolve conflicts