Last change
on this file since 843a941 was 98f448a, checked in by andrejTavchioski <andrej.tavchioski@…>, 3 years ago |
parkingZone and parkingSession services fix
|
-
Property mode
set to
100644
|
File size:
294 bytes
|
Line | |
---|
1 | package parkup.data.enumarations;
|
---|
2 |
|
---|
3 | import org.springframework.security.core.GrantedAuthority;
|
---|
4 |
|
---|
5 | public 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.