Skip to content
Snippets Groups Projects

Remove roles allowed that break rest client calls in reactive impl

Merged Martin Lowe requested to merge malowe/main/roles-removal into main
3 files
+ 0
11
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -19,7 +19,6 @@ import org.eclipsefoundation.foundationdb.client.runtime.model.organization.Orga
import org.eclipsefoundation.foundationdb.client.runtime.model.organization.OrganizationDocumentData;
import io.quarkus.oidc.client.filter.OidcClientFilter;
import jakarta.annotation.security.RolesAllowed;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
@@ -47,7 +46,6 @@ public interface OrganizationAPI {
*/
@GET
@Path("{orgId}/documents")
@RolesAllowed("fdb_read_organization_documents")
List<OrganizationDocumentData> getOrganizationDocuments(@PathParam("orgId") String orgId,
@QueryParam("is_not_expired") boolean isNotExpired, @QueryParam("includeBytes") boolean includeBytes);
@@ -59,7 +57,6 @@ public interface OrganizationAPI {
*/
@GET
@Path("/contacts")
@RolesAllowed("fdb_read_organization_employment")
List<OrganizationContactData> getOrgContacts(@QueryParam("personID") String username);
/**
@@ -70,6 +67,5 @@ public interface OrganizationAPI {
*/
@GET
@Path("/contacts/full")
@RolesAllowed({ "fdb_read_organization_employment", "fdb_read_organization", "fdb_read_people" })
List<FullOrganizationContactData> getFullOrgContacts(@QueryParam("personID") String username);
}
Loading