@@ -0,0 +1,682 @@
+package de.cinovo.cloudconductor.api.interfaces;%0A%0Aimport java.util.Set;%0A%0Aimport javax.annotation.security.RolesAllowed;%0Aimport javax.ws.rs.Consumes;%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.Produces;%0A%0Aimport de.cinovo.cloudconductor.api.MediaType;%0Aimport de.cinovo.cloudconductor.api.enums.UserPermissions;%0A%0A/**%0A * Copyright 2017 Cinovo AG%3Cbr%3E%0A * %3Cbr%3E%0A *%0A * @author mweise%0A */%0A@Path(%22/permission%22)%0A@Produces(MediaType.APPLICATION_JSON)%0A@Consumes(MediaType.APPLICATION_JSON)%0Apublic interface IPermission %7B%0A%09%0A%09/**%0A%09 * @return set of all possible permissions%0A%09 */%0A%09@GET%0A%09@RolesAllowed(%7B%22VIEW_USERS%22, %22EDIT_USERS%22%7D)%0A%09Set%3CUserPermissions%3E getPermissions();%0A%0A%7D%0A

Add interface to get the names of all possible permissions.