This is basically for me to remember and to find it again once I stumble upon this message again.
Sometimes you will get this error message when trying to refresh or replace the design of a database using a template. If so, please check if the template comes with a predefined ACL, especially roles. If the database that you want to update does not have all the roles in it’s ACL this message tries to tell you so.
Of course it has nothing to do with the maximum amount of roles in the ACL, the message is just misleading.
Just adapt all the roles in the database and try again - the design replace will work properly.
However, I noticed that the design itself was updated properly in some cases.