@@ -0,0 +1,998 @@
+package ca.corefacility.bioinformatics.irida.model;%0A%0Aimport org.springframework.security.core.GrantedAuthority;%0A%0A/**%0A * Roles for authorization in the application.%0A *%0A * @author Franklin Bristow %3Cfranklin.bristow@phac-aspc.gc.ca%3E%0A */%0Apublic class Role implements Comparable%3CRole%3E, GrantedAuthority %7B%0A%0A    private String id;%0A    private String name;%0A    private String description;%0A%0A    public Role() %7B%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(String id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getDescription() %7B%0A        return description;%0A    %7D%0A%0A    public void setDescription(String description) %7B%0A        this.description = description;%0A    %7D%0A%0A    @Override%0A    public int compareTo(Role o) %7B%0A        return id.compareTo(o.id);%0A    %7D%0A%0A    @Override%0A    public String getAuthority() %7B%0A        return name;%0A    %7D%0A%7D%0A

Add Role support for users.