Index: branches/5.1.x/core/install/upgrades.sql
===================================================================
diff -u -N -r14514 -r14527
--- branches/5.1.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14514)
+++ branches/5.1.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14527)
@@ -2043,4 +2043,14 @@
 
 # ===== v 5.1.3 =====
 UPDATE PortalUser
-SET Modified = NULL;
\ No newline at end of file
+SET Modified = NULL;
+
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:site_domains.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:site_domains.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:site_domains.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:site_domains.view', 11, 1, 1, 0);
+
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:country_states.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:country_states.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:country_states.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-portal:country_states.view', 11, 1, 1, 0);
\ No newline at end of file
