Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static final Map<String, List<Integer>> MAPA_OVLASTI = Stream.of(
- new SimpleEntry<>("registracija", ADMIN_UNREG) ,
- new SimpleEntry<>("glasovanje", ADMIN_USER),
- new SimpleEntry<>("message", ALL),
- new SimpleEntry<>("statistika", ADMIN_USER),
- new SimpleEntry<>("upit_nadzorniku", USER),
- new SimpleEntry<>("uredi", USER),
- new SimpleEntry<>("manage_users", ADMIN),
- new SimpleEntry<>("dodaj_vijest", ADMIN),
- new SimpleEntry<>("postavi_nadzornika", ADMIN),
- new SimpleEntry<>("ukloni_nadzornika", ADMIN),
- new SimpleEntry<>("dodaj_glasovanje", ADMIN),
- new SimpleEntry<>("uredi_korisnika", ADMIN))
- .collect(Collectors.toMap(SimpleEntry::getKey, SimpleEntry::getValue));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement