Issue
When you are editing Catalog in Commerce and try to save the modification you will get the following message: "Error: You do not have the required permissions". This error usually happens when there is no Currency set for the Master Catalog. You can check this on the UI if you edit the Catalog named "Master". There is also a NoSuchCurrencyException in Liferay logs.
Environment
Liferay DXP 7.3
Resolution
It can happen that the Currency setting in the Master Catalog can get corrupted. If this is the case, you need to manually change this entry in the database.
Please only perform this in a test environment first:
You can execute the following SQL statement in your CommerceCatalog table
UPDATE CommerceCatalog SET commerceCurrencyCode = 'USD' WHERE system_ = 1;
If this statement is not supported in your client, you may need to locate the commerceCatalogId first:
SELECT commerceCatalogId FROM CommerceCatalog WHERE system_ = 1;
After that, update the entry with this ID:
UPDATE CommerceCatalog SET commerceCurrencyCode = 'USD' WHERE commerceCatalogId = <ID from previous statement>;
The commerceCurrencyCode in this example is USD, but you can use other currencies as well.
After you executed this, please restart Liferay or clear the DB cache. Once this is done you won't experience the permission issue anymore.