Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Merge requests
!159
Something went wrong on our end
Large update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Large update
310-fix-some-image-vulnerabilities
into
dev
Overview
1
Commits
25
Pipelines
0
Changes
5
Merged
Large update
Martin Weise
requested to merge
310-fix-some-image-vulnerabilities
into
dev
May 11, 2023
Overview
1
Commits
25
Pipelines
0
Changes
5
Updated a lot of security-related things
Remove Discovery Service (tons of security-related issues)
Modified the Gateway Service as reverse proxy
Upgraded Java 11 to Java 17
Upgraded Spring 5 to Spring6
Upgraded packages c3p0, opencsv etc.
Updated non-security related things
NGINX proxy and
%2F
encoding has issues: default RabbitMQ virtual host is now
dbrepo
Closes #310
0
0
Merge request reports
Viewing commit
0e8b2ef7
Prev
Next
Show latest version
5 files
+
11
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Unverified
0e8b2ef7
Hotfix frontend private databases
· 0e8b2ef7
Martin Weise
authored
May 11, 2023
dbrepo-table-service/rest-service/src/main/java/at/tuwien/endpoints/TableEndpoint.java
+
2
−
2
View file @ 0e8b2ef7
Edit in single-file editor
Open in Web IDE
Show full file
@@ -180,8 +180,8 @@ public class TableEndpoint {
throws
TableNotFoundException
,
DatabaseNotFoundException
,
ContainerNotFoundException
,
NotAllowedException
{
log
.
debug
(
"endpoint find table, containerId={}, databaseId={}, tableId={}, principal={}"
,
containerId
,
databaseId
,
tableId
,
principal
);
endpointValidator
.
validateOnlyPrivateAccess
(
containerId
,
databaseId
,
principal
);
endpointValidator
.
validateOnlyPrivateHasRole
(
containerId
,
databaseId
,
principal
,
"find-table"
);
//
endpointValidator.validateOnlyPrivateAccess(containerId, databaseId, principal);
//
endpointValidator.validateOnlyPrivateHasRole(containerId, databaseId, principal, "find-table");
final
Table
table
=
tableService
.
findById
(
containerId
,
databaseId
,
tableId
);
final
TableDto
dto
=
tableMapper
.
tableToTableDto
(
table
);
log
.
trace
(
"find table resulted in table {}"
,
dto
);
Loading