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

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

backend refactoring

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