Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-835 Add permission-based access to warps #856

Merged
merged 24 commits into from
Jan 12, 2025
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fca57f8
Add possibility to manage warp permissions
eripe14 Oct 1, 2024
65e7564
Change warp permission feature
eripe14 Oct 8, 2024
374fc89
Add config description
eripe14 Oct 8, 2024
f1a6ada
Resolve CitralFlo suggestion
eripe14 Oct 8, 2024
7eb3bfc
Merge branch 'master' into add-possibility-to-set-warp-permissions
vLuckyyy Jan 10, 2025
1dbc78f
Merge branch 'master' into add-possibility-to-set-warp-permissions
vLuckyyy Jan 12, 2025
2e80db7
Refactor and enhance warp permission handling
vLuckyyy Jan 12, 2025
0aaf226
Update eternalcore-core/src/main/java/com/eternalcode/core/translatio…
vLuckyyy Jan 12, 2025
bf890c7
Update eternalcore-core/src/main/java/com/eternalcode/core/translatio…
vLuckyyy Jan 12, 2025
d11676f
Update eternalcore-core/src/main/java/com/eternalcode/core/translatio…
vLuckyyy Jan 12, 2025
2804b53
Update eternalcore-core/src/main/java/com/eternalcode/core/feature/wa…
vLuckyyy Jan 12, 2025
a8ac2e2
Update eternalcore-core/src/main/java/com/eternalcode/core/feature/wa…
vLuckyyy Jan 12, 2025
708224f
Update eternalcore-core/src/main/java/com/eternalcode/core/feature/wa…
vLuckyyy Jan 12, 2025
2a67403
Fix repository name, check if permission already exist.
vLuckyyy Jan 12, 2025
95f8ed3
Follow mr. @Rollczi review.
vLuckyyy Jan 12, 2025
60b4c11
Follow mr. @Rollczi review. v2
vLuckyyy Jan 12, 2025
f86cc47
Fix synchronized
Rollczi Jan 12, 2025
a84633d
Merge remote-tracking branch 'origin/add-possibility-to-set-warp-perm…
Rollczi Jan 12, 2025
e68afcc
Fix merge
Rollczi Jan 12, 2025
a67693c
Fix events life cycle
Rollczi Jan 12, 2025
c9d7daf
Fix gui permissions
Rollczi Jan 12, 2025
c6115be
Fix cdn
Rollczi Jan 12, 2025
cec9d90
Fix cdn
Rollczi Jan 12, 2025
72feb45
Fix cdn.
vLuckyyy Jan 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update eternalcore-core/src/main/java/com/eternalcode/core/feature/wa…
…rp/data/WarpDataDataRepositoryImpl.java

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
vLuckyyy and coderabbitai[bot] authored Jan 12, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 708224f5ff7cd18fa4f248c9027d2a213468f97d
Original file line number Diff line number Diff line change
@@ -95,7 +95,7 @@ private void edit(Consumer<Map<String, WarpDataConfigRepresenter>> editor) {

@Override
public CompletableFuture<Optional<Warp>> getWarp(String name) {
return CompletableFuture.completedFuture(Optional.of(this.warpDataConfig.warps.get(name))
return CompletableFuture.completedFuture(Optional.ofNullable(this.warpDataConfig.warps.get(name))
.map(warpDataConfigRepresenter -> new WarpImpl(name, warpDataConfigRepresenter.position, warpDataConfigRepresenter.permissions)));
}