Last change
on this file since 80ddcae 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
|
Rev | Line | |
---|
[9dd526f] | 1 | package parkup.data.enumarations;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.security.core.GrantedAuthority;
|
---|
| 4 |
|
---|
| 5 | public enum UserRole implements GrantedAuthority {
|
---|
[98f448a] | 6 | ROLE_USER,
|
---|
| 7 | ROLE_REG_USER,
|
---|
| 8 | ROLE_WORKER,
|
---|
| 9 | ROLE_ADMIN;
|
---|
[9dd526f] | 10 |
|
---|
| 11 | @Override
|
---|
| 12 | public String getAuthority() {
|
---|
| 13 | return name();
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.