ModelerAPI: Grantable role XX does not exist

When I start my project migrated from 2.4 to 2.5.1-rc2, it prints the following warning in the log (using LogNode ModelerAPI): Grantable role XX does not exist It prints this message 5 times, each with a different role name. Then it repeats each message, resulting in 10 warnings total. Can anyone tell me where this is coming from and how I can correct this?
1 answers

I will wagger a guess

2.4.x assumed no security if you did not define it 2.5.x assumes full security, unless youdefine otherwise

Check application security on project lvl and it should allow you to "fix" the holes.