Commit Graph

195 Commits

Author SHA1 Message Date
Michael Hoennig
eeab68d63a API-first with openapiprocessor and modelmapper 2022-08-08 17:12:51 +02:00
Michael Hoennig
86128f5994 test alignment and code cleanup 2022-08-05 15:39:23 +02:00
Michael Hoennig
bef358eda6 add RbacUser* tests and improved http status codes 2022-08-05 14:31:54 +02:00
Michael Hoennig
06996e4dc4 add RbacUserController/-Entity/-Repository 2022-08-04 17:23:10 +02:00
Michael Hoennig
e2bdb96e83 README: How to Run the Appplication on a Different Port 2022-08-04 13:07:16 +02:00
Michael Hoennig
a2f2fdb6a4 add spotless 2022-08-04 10:11:35 +02:00
Michael Hoennig
8605d4c4f1 PackageController+Repository with name search option 2022-08-04 09:26:01 +02:00
Michael Hoennig
212b1077c8 adds RbacRoleControllerRestTest + RbacRoleRepositoryIntegrationTest + fix duplicate key 2022-08-04 09:11:11 +02:00
Michael Hoennig
57cf316c00 for customer findAll()->findCustomerByOptionalPrefix(...) 2022-08-04 09:09:06 +02:00
Michael Hoennig
dc6445544a add RbacRoleEntity.roleName as computed column 2022-08-03 08:52:45 +02:00
Michael Hoennig
ece36209a5 add RbacRole... 2022-08-03 06:12:16 +02:00
Michael Hoennig
bb05eb4ac4 refactoring packages, moving Hostsharing related entities etc. to hs package 2022-08-03 06:11:39 +02:00
Michael Hoennig
142aac2bce add ArchUnitTest 2022-08-02 15:51:06 +02:00
Michael Hoennig
2ac476d99b add-customer and introducing JpaAttempt test helper 2022-08-02 14:31:48 +02:00
Michael Hoennig
03ee2cfd62 add-customer and introducing JpaAttempt test helper 2022-08-02 11:51:36 +02:00
Michael Hoennig
27c5699c36 add CustomerRepositoryIntegrationTest, fix testcontainers liquibase context and improve error messages 2022-07-31 18:56:03 +02:00
Michael Hoennig
08804bd45c use plural for /api/packages too 2022-07-30 18:23:02 +02:00
Michael Hoennig
fe4fef2752 add CustomerControllerRestTest and -UnitTest 2022-07-30 18:17:45 +02:00
Michael Hoennig
2610ecd311 add PackageControllerTest as WebMvcTest through the REST API 2022-07-30 16:35:26 +02:00
Michael Hoennig
b20920d646 make package owner/admin/tenant roles assumable 2022-07-29 16:25:46 +02:00
Michael Hoennig
4721d1be23 PackagerEntity, -Repository and -Controller 2022-07-29 16:13:38 +02:00
Michael Hoennig
46957dc590 bugfix in pureIdentifier + findUuidByIdName and CustomerEntity+Repository 2022-07-29 15:53:20 +02:00
Michael Hoennig
414149f0a1 introduce Context service 2022-07-29 14:24:50 +02:00
Michael Hoennig
2b630aadbc hs-package SQL-Scripts in Liquibase and some bugfixes 2022-07-29 12:37:40 +02:00
Michael Hoennig
61c50c46ed hs-customer SQL-Scripts in Liquibase 2022-07-29 12:14:22 +02:00
Michael Hoennig
8ba952a41d hs-customer SQL-Scripts in Liquibase 2022-07-29 11:53:58 +02:00
Michael Hoennig
a478fe4cf1 cleanup in Liquibase files, header, formatting etc. 2022-07-29 11:38:51 +02:00
Michael Hoennig
9beaf5e684 improved README.md for first steps 2022-07-29 09:12:52 +02:00
Michael Hoennig
4c403b0436 formatted SQL code 2022-07-29 08:46:04 +02:00
Michael Hoennig
fb8862c37e convert rbac-statistics and rbac-role-builder*.sql files to Liquibase changesets 2022-07-28 17:17:22 +02:00
Michael Hoennig
d234ac3227 convert rbac*.sql files, except test-file, to Liquibase changesets 2022-07-28 16:55:21 +02:00
Michael Hoennig
6c33bbe780 add SpringBoot 2.7.x application 2022-07-28 16:51:36 +02:00
Michael Hoennig
f2d0fbe67a removing JHipster 2022-07-22 13:31:37 +02:00
Michael Hoennig
31cd92f3be #145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria 2019-07-03 22:23:51 +02:00
Michael Hoennig
f79c4bd7a1 #145 [Rights-Module] preparation for module specific roles / static init 2019-07-03 21:54:03 +02:00
Michael Hoennig
7db2c23de1 #145 [Rights-Module] preparation for module specific roles 2019-06-27 23:48:16 +02:00
Michael Hoennig
7983aa7e52 #145 [Rights-Module] documented the role system and some renaming 2019-05-25 19:43:29 +02:00
Michael Hoennig
57b6399950 historicization of JHI_USER_AUTHORITY table 2019-05-25 16:40:41 +02:00
Michael Hoennig
354cfbbebc historicization of JHI_USER table 2019-05-25 16:40:16 +02:00
Michael Hoennig
cbb5532394 Deserializer: improved test code coverage for entity associations 2019-05-22 21:53:45 +02:00
Michael Hoennig
e7cb3622f3 Deserializer: improved test code coverage for IGNORE field access 2019-05-16 20:25:02 +02:00
Michael Hoennig
f9b68df901 Deserializer: BadRequestAlertException("Unknown property") with test code coverage 2019-05-15 07:41:21 +02:00
Michael Hoennig
60612f6c41 #146 [AccessRights] simple AccessFilter for UserRoleAssignments
allows r/w for ADMINs and r/o for SUPPORTERs
no entity dependent access rights implemented yet
2019-05-14 07:36:14 +02:00
Michael Hoennig
3143f27b6c refactored ugly and risky code in role filter / removed Role.isIndependent() 2019-05-10 17:37:36 +02:00
Michael Hoennig
a2b90b0a36 separated MockSecurityContext into SecurityContextMock+SecurityContextMock 2019-05-10 17:21:50 +02:00
Michael Hoennig
72e79e2134 #112 [RightsModule] use UserRoleAssignments from database 2019-05-10 11:18:15 +02:00
Michael Hoennig
01d28a85d4 #137 [Rechte-Modul] sample-data für User+UserRoleAssignment 2019-05-08 20:17:28 +02:00
Michael Hoennig
671d80cc71 adding @EntityTypeId to *DTO as preparation for UserRoleAssignments 2019-05-08 13:17:26 +02:00
Michael Hoennig
735f672ea1 UserRoleAssignment entityTypeId+entityObjectId now required
this table only stores entity-dependent roles,
independent roles are stored in the JHipster table JHI_USER_AUTHORITY
2019-05-08 10:56:48 +02:00
Michael Hoennig
8ca206e1c0 accessrights.jdl: UserRoleAssignments entity*Id required
Merge branch 'jhipster-generated'
2019-05-07 13:08:26 +02:00