Projekt

Obecné

Profil

« Předchozí | Další » 

Revize fab2885e

Přidáno uživatelem Michal Linha před asi 4 roky(ů)

re #7978 added functionality of only showing assemblies with correct role (same as user), added functionality of showing only logged in users's configurations in "Rychle k"

Zobrazit rozdíly:

src/main/java/vldc/aswi/service/RoleManagerImpl.java
62 62
        this.roleRepository.findAll().forEach(retVal::add);
63 63
        return retVal;
64 64
    }
65

  
66
    /**
67
     * Get role from database by name.
68
     * @param name name of the role
69
     * @return List of roles.
70
     */
71
    @Override
72
    public Role getRole(String name) {
73
        return roleRepository.getByName(name);
74
    }
65 75
}

Také k dispozici: Unified diff