source: sources/app/src/main/java/parkup/data/enumarations/UserRole.java

Last change on this file was 98f448a, checked in by andrejTavchioski <andrej.tavchioski@…>, 2 years ago

parkingZone and parkingSession services fix

  • Property mode set to 100644
File size: 294 bytes
Line 
1package parkup.data.enumarations;
2
3import org.springframework.security.core.GrantedAuthority;
4
5public enum UserRole implements GrantedAuthority {
6 ROLE_USER,
7 ROLE_REG_USER,
8 ROLE_WORKER,
9 ROLE_ADMIN;
10
11 @Override
12 public String getAuthority() {
13 return name();
14 }
15}
Note: See TracBrowser for help on using the repository browser.