Project

General

Profile

« Previous | Next » 

Revision 61431

fixed role created from repository in production mode

View differences:

AaiRoleMappingService.java
53 53
    @Override
54 54
    public String getRoleIdByRepoId(String repoId) {
55 55
        String roleId = "";
56
        String prefix = production ? null : "beta." + "datasource";
56
        String prefix = (production ? "" : "beta.") + "datasource";
57 57
        if (repoId != null) {
58 58
            roleId = createRepoRoleName(prefix, repoId);
59 59
            return roleId;

Also available in: Unified diff