update dependencies, fix minetest dep

This commit is contained in:
_Bastler 2024-03-28 11:11:49 +01:00
parent bcb235d9ea
commit 77270cf917
3 changed files with 11 additions and 7 deletions

View File

@ -8,8 +8,6 @@ import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Component;
@ -33,8 +31,6 @@ import de.bstly.we.repository.PermissionRepository;
@Component
public class PermissionManager implements UserDataProvider {
private Logger logger = LoggerFactory.getLogger(PermissionManager.class);
@Autowired
private PermissionRepository permissionRepository;
@Autowired
@ -437,7 +433,7 @@ public class PermissionManager implements UserDataProvider {
permission = new Permission();
permission.setTarget(target);
permission.setName(name);
permission.setAddon(permissionMapping.isAddon());
permission.setAddon(permissionMapping.isAddon()); // TODO: check for ROLE_MEMBER
permission.setStarts(permissionStarts);
permission.setExpires(permissionsExpires);
} else {

View File

@ -17,5 +17,13 @@
<artifactId>webstly-core</artifactId>
<version>${revision}</version>
</dependency>
<!-- Query DSL -->
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl.version}</version>
<classifier>jakarta</classifier>
</dependency>
</dependencies>
</project>

View File

@ -14,13 +14,13 @@
<java.version>17</java.version>
<querydsl.version>5.0.0</querydsl.version>
<nimbus.version>9.37.3</nimbus.version>
<revision>3.0.5-SNAPSHOT</revision>
<revision>3.0.6-SNAPSHOT</revision>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0</version>
<version>3.2.4</version>
<relativePath />
</parent>