ApplicationRole securityAdminRole = applicationRoles.findRoleByName(roleName);
if(securityAdminRole == null) {
securityAdminRole = applicationRoles.newRole(roleName, roleDescription);
}
for (String featureFqn : featureFqns) {
<BUG>applicationPermissions.newPermission(
</BUG>
securityAdminRole,
rule,
mode,

ApplicationRole securityAdminRole = applicationRoles.findRoleByName(roleName);
if(securityAdminRole == null) {
securityAdminRole = applicationRoles.newRole(roleName, roleDescription);
}
for (String featureFqn : featureFqns) {
applicationPermissions.newPermissionNoCheck(
securityAdminRole,
rule,
mode,
