Codebase domain settings page is updated to enforce role-based access control. The Add pattern and Edit actions are visible only to users who possess the add or remove domains for codebases permission. Users without this permission cannot access these actions in the UI.